]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-difftool--helper.sh
Merge branch 'master' of git://github.com/alshopov/git-po
[thirdparty/git.git] / git-difftool--helper.sh
index 84d6cc021c51ac53b68a8b9fdbdd3ed0f8d9d30a..7bfb6737dfe7be46f3f29903bef844c3c2b1be11 100755 (executable)
@@ -86,6 +86,13 @@ else
        do
                launch_merge_tool "$1" "$2" "$5"
                status=$?
+               if test $status -ge 126
+               then
+                       # Command not found (127), not executable (126) or
+                       # exited via a signal (>= 128).
+                       exit $status
+               fi
+
                if test "$status" != 0 &&
                        test "$GIT_DIFFTOOL_TRUST_EXIT_CODE" = true
                then