diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-05-31 09:55:05 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-05-31 09:55:05 +0000 |
commit | 711ba61a781d2375b2bfb38e77c00b4d9ab84485 (patch) | |
tree | 8fba025bbc8386c44c90e94913c86dec1ba4da22 /lib | |
parent | 12b7e7aa2f2e75f3b509638de6a2c48d5b773769 (diff) | |
parent | 0db994fedcf95a44e822a919c4d49cf9135786c1 (diff) | |
download | gitlab-ce-711ba61a781d2375b2bfb38e77c00b4d9ab84485.tar.gz |
Merge branch '46445-fix-gitaly-tree-entry-encoding' into 'master'
Fix encoding bug in Gitaly::Commit::TreeEntry
Closes #46445 and gitaly#1208
See merge request gitlab-org/gitlab-ce!19243
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 ) |