Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroyuki Sato <h-sato@ruby-dev.jp>2016-12-20 16:43:59 +0300
committerHiroyuki Sato <h-sato@ruby-dev.jp>2016-12-20 16:43:59 +0300
commit1a59766d0c7ed78a7167040af512842979d2414e (patch)
tree7687c37762986681fc2f459bed188ef61e3663ca /lib/api/files.rb
parente78f1048d9f9e327f6386dbeae020a2217d8e05f (diff)
Merge two methods.
Diffstat (limited to 'lib/api/files.rb')
-rw-r--r--lib/api/files.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/files.rb b/lib/api/files.rb
index f95b9be1722..779f54c1ded 100644
--- a/lib/api/files.rb
+++ b/lib/api/files.rb
@@ -70,7 +70,7 @@ module API
ref: params[:ref],
blob_id: blob.id,
commit_id: commit.id,
- last_commit_id: repo.cache_last_commit_id_for_path(commit.sha, params[:file_path])
+ last_commit_id: repo.last_commit_id_for_path(commit.sha, params[:file_path])
}
end