diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-27 00:08:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-27 00:08:51 +0300 |
commit | 757d2fda7e2936b071a4cb600046ca375051d7c5 (patch) | |
tree | 76673008cb2e31c1df8705d0388fd3cabdd79d2d /app/services | |
parent | ebe92e84a92d7d00710a6c5017ef2bb160268471 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/files/base_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/files/base_service.rb b/app/services/files/base_service.rb index 39e614d6569..d42f718a272 100644 --- a/app/services/files/base_service.rb +++ b/app/services/files/base_service.rb @@ -25,7 +25,7 @@ module Files return false unless commit_id last_commit = Gitlab::Git::Commit - .last_for_path(@start_project.repository, @start_branch, path) + .last_for_path(@start_project.repository, @start_branch, path, literal_pathspec: true) return false unless last_commit |