summaryrefslogtreecommitdiff
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-19 00:09:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-19 00:09:42 +0000
commit91d37b971433b16c25ec501429ac643f9c49839e (patch)
tree59ced702b47ff50a967653e2207f5a602513dca1 /app/models/repository.rb
parent540020f8155ff0686ae9a51a16414661e3cdaf9d (diff)
downloadgitlab-ce-91d37b971433b16c25ec501429ac643f9c49839e.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 0135020e586..0da71d87457 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -1049,8 +1049,8 @@ class Repository
blob_data_at(sha, '.lfsconfig')
end
- def changelog_config(ref = 'HEAD')
- blob_data_at(ref, Gitlab::Changelog::Config::FILE_PATH)
+ def changelog_config(ref, path)
+ blob_data_at(ref, path)
end
def fetch_ref(source_repository, source_ref:, target_ref:)