X-Git-Url: https://oss.titaniummirror.com/gitweb?p=git-utils.git;a=blobdiff_plain;f=git-diffall;fp=git-diffall;h=990d28537b858ba773f068242c747c67a53c2c09;hp=dd8dd46fcb856b5d128050b63aaf625bf15cab84;hb=5a0964b8bfd750dd118a1b10736ff9541b61b2fd;hpb=36c971cd275c4def7a9c8724fae4601f7bbd6c99 diff --git a/git-diffall b/git-diffall old mode 100755 new mode 100644 index dd8dd46..990d285 --- a/git-diffall +++ b/git-diffall @@ -1,5 +1,8 @@ #!/bin/sh +# Thanks to Thomas Rast +# http://thread.gmane.org/gmane.comp.version-control.git/124807 +SUBDIRECTORY_OK=1 . "$(git --exec-path)/git-sh-setup" cd_to_toplevel # for the tar below @@ -35,4 +38,9 @@ done < "$tmp"/filelist cd "$tmp" #meld a b #diff -ur a b -kdiff3 a b +tool="$(git-config diff.tool)" +if [ -n "$tool" ]; then + "$tool" a b +else + diff -urN a b +fi