From: Junio C Hamano Date: Sun, 12 Mar 2006 01:44:10 +0000 (-0800) Subject: git-diff: -p disables rename detection. X-Git-Tag: v1.3.0-rc1~35^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/42efbf6d8a5b4902c55a2f6e96034625c056ba1f?ds=inline;hp=--cc git-diff: -p disables rename detection. --- 42efbf6d8a5b4902c55a2f6e96034625c056ba1f diff --git a/git-diff.sh b/git-diff.sh index dc4d1b3cfd..dc0dd312bf 100755 --- a/git-diff.sh +++ b/git-diff.sh @@ -38,9 +38,9 @@ case " $flags " in 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' " ;;