Browse Source
While on an unborn branch, git am -3 will fail to do a threeway merge as it references HEAD as "our tree", but HEAD does not point to a valid tree. Fix this by using an empty tree as "our tree" when we are on an unborn branch. Signed-off-by: Paul Tan <pyokagan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Paul Tan
10 years ago
committed by
Junio C Hamano
2 changed files with 11 additions and 1 deletions
Loading…
Reference in new issue