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~21^2~13 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=42efbf6d8a5b4902c55a2f6e96034625c056ba1f;p=git.git git-diff: -p disables rename detection. --- diff --git a/git-diff.sh b/git-diff.sh index dc4d1b3cf..dc0dd312b 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' " ;;