git-diff: -p disables rename detection.

This commit is contained in:
Junio C Hamano 2006-03-11 17:44:10 -08:00
parent 8e7f9035b8
commit 42efbf6d8a

View File

@ -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' " ;;