Merge my and Petr's git-merge-one-file-script modifications

This commit is contained in:
Linus Torvalds 2005-06-08 16:54:23 -07:00
commit 566487c8a6

View File

@ -23,7 +23,8 @@ case "${1:-.}${2:-.}${3:-.}" in
"$1..")
echo "WARNING: $4 is removed in both branches."
echo "WARNING: This is a potential rename conflict."
exec git-update-cache --remove -- "$4"
rm -f -- "$4" &&
exec git-update-cache --remove -- "$4"
;;
#