From 8fad07383ada021fc995294fd0fe0f77fe37da35 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 25 May 2018 13:45:29 +0200 Subject: Return '/' as a bogus repo path to gitlab-shell --- lib/api/internal.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/api/internal.rb') 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 -- cgit v1.2.1