Bug #41

Git hook output shown as errors irrespectively of the exit code

Added by Andrey Rahmatullin almost 2 years ago.

Status:NewStart date:2016-03-27
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791484

I have a local pre-commit hook set up to run some stuff right before the actual commit. This works just
fine when committing on the command-line. However, when I commit in QGit, it pops up a message saying
that there was an error committing and showing the output of the pre-commit hook. There was no error,
the exit code of everything is 0 when I run this on the CLI. QGit should thus not say anything about
errors, and it should re-load the commit log to show the new commit.

Also available in: Atom PDF