SubmittingPatches: explain rationale for using --notes with format-patch
[gitweb.git] / git-difftool--helper.sh
index aca0413c2840a3097056d6d247aad9438451249e..d4fb6dfe138fffd4d000c7d5aeb7787bea9970f4 100755 (executable)
@@ -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