mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00: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 a new issue