diff options
author | Paul Okstad <pokstad@gitlab.com> | 2019-06-27 13:35:13 +0000 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-06-27 13:35:13 +0000 |
commit | 7e2188a18e63251fd3038ef803a6dfc37e867fe5 (patch) | |
tree | f6133d124ca0d6e53bbc3840094ae10e6215edb3 /lib | |
parent | d6588577fb69f67b55e61e522c2b4802ec4bf41c (diff) | |
download | gitlab-ce-7e2188a18e63251fd3038ef803a6dfc37e867fe5.tar.gz |
Change GetRawChanges RPC to use bytes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git/raw_diff_change.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/git/raw_diff_change.rb b/lib/gitlab/git/raw_diff_change.rb index e1002af40f6..9a41f04a4db 100644 --- a/lib/gitlab/git/raw_diff_change.rb +++ b/lib/gitlab/git/raw_diff_change.rb @@ -11,8 +11,8 @@ module Gitlab if raw_change.is_a?(Gitaly::GetRawChangesResponse::RawChange) @blob_id = raw_change.blob_id @blob_size = raw_change.size - @old_path = raw_change.old_path.presence - @new_path = raw_change.new_path.presence + @old_path = raw_change.old_path_bytes.presence + @new_path = raw_change.new_path_bytes.presence @operation = raw_change.operation&.downcase || :unknown else parse(raw_change) |