mirror of
https://github.com/git/git.git
synced 2024-11-28 04:23:30 +08:00
git-diff: -p disables rename detection.
This commit is contained in:
parent
8e7f9035b8
commit
42efbf6d8a
@ -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' " ;;
|
||||
|
Loading…
Reference in New Issue
Block a user