Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
merge: allow reading the merge commit message from a file
[gitweb.git]
/
builtin
/
checkout.c
diff --git
a/builtin/checkout.c
b/builtin/checkout.c
index c7670dbbfec9172496f8ed73d73412bed326b4b6..4c41d8b4c831937354fca62f454b83e311f79145 100644
(file)
--- a/
builtin/checkout.c
+++ b/
builtin/checkout.c
@@
-527,6
+527,7
@@
static int merge_working_tree(const struct checkout_opts *opts,
init_tree_desc(&trees[1], tree->buffer, tree->size);
ret = unpack_trees(2, trees, &topts);
+ clear_unpack_trees_porcelain(&topts);
if (ret == -1) {
/*
* Unpack couldn't do a trivial merge; either