diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-07-18 16:57:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-18 16:57:47 -0700 |
commit | 58b1ef2f0fce75ebf4fbf88e5bdf76a0afaeacce (patch) | |
tree | d88020de86478eeaa883f6626ba6a2f5fdd94e95 /unpack-trees.c | |
parent | 4525e8e41a8c0c4246a95097744604ea72198dad (diff) | |
parent | 78d3b06e0f5e6aaea001ee8e3e7c8e401dc4b244 (diff) | |
download | git-58b1ef2f0fce75ebf4fbf88e5bdf76a0afaeacce.tar.gz |
Merge branch 'maint'
* maint:
checkout -f: deal with a D/F conflict entry correctly
sha1_name.c: avoid unnecessary strbuf_release
refs.c: release file descriptor on error return
Diffstat (limited to 'unpack-trees.c')
-rw-r--r-- | unpack-trees.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack-trees.c b/unpack-trees.c index 48d862d3b4..720f7a1616 100644 --- a/unpack-trees.c +++ b/unpack-trees.c @@ -999,7 +999,7 @@ int oneway_merge(struct cache_entry **src, struct unpack_trees_options *o) return error("Cannot do a oneway merge of %d trees", o->merge_size); - if (!a) + if (!a || a == o->df_conflict_entry) return deleted_entry(old, old, o); if (old && same(old, a)) { |