aboutsummaryrefslogtreecommitdiff
path: root/git-merge-resolve.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-03 22:04:14 -0800
committerJunio C Hamano <junkio@cox.net>2006-02-06 21:43:27 -0800
commit1b1fdf8c2f935e2195d3ca5c37e578bd9146a82f (patch)
tree908d448f476257bbc49d9c56debfd65d43d5ac52 /git-merge-resolve.sh
parent8bc5c04a715ee0746df2bcd7e0924f4119140ad2 (diff)
downloadgit-1b1fdf8c2f935e2195d3ca5c37e578bd9146a82f.tar.gz
git-1b1fdf8c2f935e2195d3ca5c37e578bd9146a82f.tar.xz
read-tree --aggressive
A new flag --aggressive resolves what we traditionally resolved with external git-merge-one-file inside index while read-tree 3-way merge works. git-merge-octopus and git-merge-resolve use this flag before running git-merge-index with git-merge-one-file. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-merge-resolve.sh')
-rwxr-xr-xgit-merge-resolve.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-merge-resolve.sh b/git-merge-resolve.sh
index 966e81ff7..0a8ef216c 100755
--- a/git-merge-resolve.sh
+++ b/git-merge-resolve.sh
@@ -38,7 +38,7 @@ then
fi
git-update-index --refresh 2>/dev/null
-git-read-tree -u -m $bases $head $remotes || exit 2
+git-read-tree -u -m --aggressive $bases $head $remotes || exit 2
echo "Trying simple merge."
if result_tree=$(git-write-tree 2>/dev/null)
then