summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17ebe97)
raw | patch | inline | side by side (parent: 17ebe97)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Wed, 8 Jun 2005 23:35:30 +0000 (16:35 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Wed, 8 Jun 2005 23:35:30 +0000 (16:35 -0700) |
Pointed out by Junio.
git-merge-one-file-script | patch | blob | history |
index cf42ff63c2dd3b945d07a9a4532f26e253708558..787ac446930e311b345a05ff1006ab343fa5a471 100755 (executable)
"$1..")
echo "WARNING: $4 is removed in both branches."
echo "WARNING: This is a potential rename conflict."
+ rm -f -- "$4" || exit 1
exec git-update-cache --remove -- "$4" ;;
#
# Deleted in one and unchanged in the other.
#
"$1.." | "$1.$1" | "$1$1.")
echo "Removing $4"
- rm -f -- "$4"
+ rm -f -- "$4" || exit 1
exec git-update-cache --remove -- "$4" ;;
#
# Added in one.