diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2018-05-30 13:48:25 +0300 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2018-05-30 18:33:17 +0300 |
commit | 0db994fedcf95a44e822a919c4d49cf9135786c1 (patch) | |
tree | ca660c9c9b40941b95db65d4a2133c76eb89dbe1 /lib | |
parent | 439adb96dadd49124d080db0db0b0076d2049c6b (diff) |
Fix encoding error in Gitaly::Commit::TreeEntry
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gitaly_client/commit_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client/commit_service.rb b/lib/gitlab/gitaly_client/commit_service.rb index 1f5f88bf792..a4cc64de80d 100644 --- a/lib/gitlab/gitaly_client/commit_service.rb +++ b/lib/gitlab/gitaly_client/commit_service.rb @@ -78,7 +78,7 @@ module Gitlab def tree_entry(ref, path, limit = nil) request = Gitaly::TreeEntryRequest.new( repository: @gitaly_repo, - revision: ref, + revision: encode_binary(ref), path: encode_binary(path), limit: limit.to_i ) |