projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e7f903
)
git-diff: -p disables rename detection.
author
Junio C Hamano
<junkio@cox.net>
Sun, 12 Mar 2006 01:44:10 +0000
(17:44 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 12 Mar 2006 01:44:10 +0000
(17:44 -0800)
git-diff.sh
patch
|
blob
|
history
diff --git
a/git-diff.sh
b/git-diff.sh
index
dc4d1b3
..
dc0dd31
100755
(executable)
--- 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' "*)
+*" '-"[BCM
rp
]* | *" '--find-copies-harder' "*)
;; # something like -M50.
*)
flags="$flags'-M' " ;;