summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e7f903)
raw | patch | inline | side by side (parent: 8e7f903)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 12 Mar 2006 01:44:10 +0000 (17:44 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 12 Mar 2006 01:44:10 +0000 (17:44 -0800) |
git-diff.sh | patch | blob | history |
diff --git a/git-diff.sh b/git-diff.sh
index dc4d1b3cfd599138f0f25ed778121c273ed256c7..dc0dd312bfb83921e1c52849a23ece84a05b5ecd 100755 (executable)
--- a/git-diff.sh
+++ b/git-diff.sh
flags="$flags'$cc_or_p' " ;;
esac
-# If we do not have -B nor -C, default to -M.
+# If we do not have -B, -C, -r, nor -p, default to -M.
case " $flags " in
-*" '-"[BCM]* | *" '--find-copies-harder' "*)
+*" '-"[BCMrp]* | *" '--find-copies-harder' "*)
;; # something like -M50.
*)
flags="$flags'-M' " ;;