projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xdiff: Show function names in hunk headers.
[git.git]
/
git-diff.sh
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
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
case " $flags " in
-*" '-"[BCM]* | *" '--find-copies-harder' "*)
+*" '-"[BCM
rp
]* | *" '--find-copies-harder' "*)
;; # something like -M50.
*)
flags="$flags'-M' " ;;
;; # something like -M50.
*)
flags="$flags'-M' " ;;