зеркало из https://github.com/microsoft/git.git
git-diff: -p disables rename detection.
This commit is contained in:
Родитель
8e7f9035b8
Коммит
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' " ;;
|
||||
|
|
Загрузка…
Ссылка в новой задаче