diff options
author | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-12-15 14:40:15 +0900 |
---|---|---|
committer | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-12-20 18:24:24 +0900 |
commit | 1f1927571990ab44c7a45fbc436438756189d783 (patch) | |
tree | 475d117137733bbd32c6d31b03f0eda7834d89dd /lib/api/files.rb | |
parent | b1ca2c7dd8c54d0c430eee3882fa10f8e747add3 (diff) | |
download | gitlab-ce-1f1927571990ab44c7a45fbc436438756189d783.tar.gz |
Rename sha to id
Diffstat (limited to 'lib/api/files.rb')
-rw-r--r-- | lib/api/files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/files.rb b/lib/api/files.rb index 187e2f3434d..f95b9be1722 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_sha_for_path(commit.sha, params[:file_path]) + last_commit_id: repo.cache_last_commit_id_for_path(commit.sha, params[:file_path]) } end |