From 42efbf6d8a5b4902c55a2f6e96034625c056ba1f Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 11 Mar 2006 17:44:10 -0800 Subject: [PATCH] git-diff: -p disables rename detection. --- git-diff.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-diff.sh b/git-diff.sh index dc4d1b3c..dc0dd312 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' " ;; -- 2.11.0