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:
authorSean McGivern <sean@mcgivern.me.uk>2017-10-04 15:07:23 +0300
committerJarka Kadlecova <jarka@gitlab.com>2017-11-01 16:22:39 +0300
commit465feb1bd6efeedc827055bb2e1447c73fb5a576 (patch)
tree353a755bd12867dac206ecf4942515a160bcec61
parent13476076151b1d349d3c94766859f1dfde9ccfad (diff)
Merge branch 'capture-rev-list-errors' into 'master'
Include RevList error messages in exceptions See merge request gitlab-org/gitlab-ce!14658
-rw-r--r--lib/gitlab/git/rev_list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/rev_list.rb b/lib/gitlab/git/rev_list.rb
index 2b5785a1f08..1383cd15171 100644
--- a/lib/gitlab/git/rev_list.rb
+++ b/lib/gitlab/git/rev_list.rb
@@ -29,7 +29,7 @@ module Gitlab
output, status = Gitlab::Popen.popen(args, nil, Gitlab::Git::Env.all.stringify_keys)
unless status.zero?
- raise "Got a non-zero exit code while calling out `#{args.join(' ')}`."
+ raise "Got a non-zero exit code while calling out `#{args.join(' ')}`: #{output}"
end
output.split("\n")