author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Wed, 8 Jun 2005 23:54:23 +0000 (16:54 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Wed, 8 Jun 2005 23:54:23 +0000 (16:54 -0700) |
1 | 2 | |||
---|---|---|---|---|
git-merge-one-file-script | patch | | diff1 | | diff2 | | blob | history |
diff --cc git-merge-one-file-script
index 73e1c50bffdcee20131baa3938677dc19cde4c71,787ac446930e311b345a05ff1006ab343fa5a471..f0353c14b4c116a07a4a2b67453707767e4a1a3f
"$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" || exit 1
- exec git-update-cache --remove -- "$4" ;;
++ rm -f -- "$4" &&
++ exec git-update-cache --remove -- "$4"
+ ;;
+
#
# Deleted in one and unchanged in the other.
#