Browse Source

Use git-merge-file in git-merge-one-file, too

Would you believe? I edited git-merge-one-file (note the missing ".sh"!)
when I submitted the patch which became commit e2b7008752...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Johannes Schindelin 18 years ago committed by Junio C Hamano
parent
commit
caba139d43
  1. 2
      git-merge-one-file.sh

2
git-merge-one-file.sh

@ -104,7 +104,7 @@ case "${1:-.}${2:-.}${3:-.}" in @@ -104,7 +104,7 @@ case "${1:-.}${2:-.}${3:-.}" in
# Be careful for funny filename such as "-L" in "$4", which
# would confuse "merge" greatly.
src1=`git-unpack-file $2`
merge "$src1" "$orig" "$src2"
git-merge-file "$src1" "$orig" "$src2"
ret=$?

# Create the working tree file, using "our tree" version from the

Loading…
Cancel
Save