diff options
author | Junio C Hamano <junkio@cox.net> | 2006-03-11 17:44:10 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-11 17:44:10 -0800 |
commit | 42efbf6d8a5b4902c55a2f6e96034625c056ba1f (patch) | |
tree | 06d3ce988906a10a12fa87d18c11826fa49e0011 | |
parent | 8e7f9035b8271469747e3745aa7e095e12f74e5e (diff) | |
download | git-42efbf6d8a5b4902c55a2f6e96034625c056ba1f.tar.gz |
git-diff: -p disables rename detection.
-rwxr-xr-x | git-diff.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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' " ;; |