projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git config syntax updates
[git.git]
/
git-diff.sh
diff --git
a/git-diff.sh
b/git-diff.sh
index
dc0dd31
..
0fe6770
100755
(executable)
--- a/
git-diff.sh
+++ b/
git-diff.sh
@@
-30,9
+30,11
@@
case " $flags " in
cc_or_p=--cc ;;
esac
cc_or_p=--cc ;;
esac
-# If we do not have --name-status, --name-only, -r, or -c default to --cc.
+# If we do not have --name-status, --name-only, -r, -c or --stat,
+# default to --cc.
case " $flags " in
case " $flags " in
-*" '--name-status' "* | *" '--name-only' "* | *" '-r' "* | *" '-c' "* )
+*" '--name-status' "* | *" '--name-only' "* | *" '-r' "* | *" '-c' "* | \
+*" '--stat' "*)
;;
*)
flags="$flags'$cc_or_p' " ;;
;;
*)
flags="$flags'$cc_or_p' " ;;