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:
authorPaul Okstad <pokstad@gitlab.com>2019-06-27 16:35:13 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-06-27 16:35:13 +0300
commit7e2188a18e63251fd3038ef803a6dfc37e867fe5 (patch)
treef6133d124ca0d6e53bbc3840094ae10e6215edb3 /lib/gitlab/git
parentd6588577fb69f67b55e61e522c2b4802ec4bf41c (diff)
Change GetRawChanges RPC to use bytes
Diffstat (limited to 'lib/gitlab/git')
-rw-r--r--lib/gitlab/git/raw_diff_change.rb4
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)