Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t9001: style modernisation phase #1
[gitweb.git]
/
git-difftool--helper.sh
diff --git
a/git-difftool--helper.sh
b/git-difftool--helper.sh
index aca0413c2840a3097056d6d247aad9438451249e..d4fb6dfe138fffd4d000c7d5aeb7787bea9970f4 100755
(executable)
--- a/
git-difftool--helper.sh
+++ b/
git-difftool--helper.sh
@@
-85,6
+85,12
@@
else
while test $# -gt 6
do
launch_merge_tool "$1" "$2" "$5"
+ status=$?
+ if test "$status" != 0 &&
+ test "$GIT_DIFFTOOL_TRUST_EXIT_CODE" = true
+ then
+ exit $status
+ fi
shift 7
done
fi