diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-05-25 13:45:29 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-05-25 13:58:22 +0200 |
commit | 8fad07383ada021fc995294fd0fe0f77fe37da35 (patch) | |
tree | b4614086a5354d3e83751a28af55f069fc7504ce /lib/api/internal.rb | |
parent | a33d591602b40d224b4fdb74300e3b0d96bda7df (diff) | |
download | gitlab-ce-8fad07383ada021fc995294fd0fe0f77fe37da35.tar.gz |
Return '/' as a bogus repo path to gitlab-shellzj-internal-repo-path
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r-- | lib/api/internal.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 798a8dbb929..a41270fa85f 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -59,7 +59,11 @@ module API status: true, gl_repository: gl_repository, gl_username: user&.username, - repository_path: nil, + + # This repository_path is a bogus value but gitlab-shell still requires + # its presence. https://gitlab.com/gitlab-org/gitlab-shell/issues/135 + repository_path: '/', + gitaly: gitaly_payload(params[:action]) } end |