]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jn/unpack-trees-checkout-m-carry-deletion'
authorJunio C Hamano <gitster@pobox.com>
Thu, 11 Sep 2014 17:33:35 +0000 (10:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Sep 2014 17:33:36 +0000 (10:33 -0700)
"git checkout -m" did not switch to another branch while carrying
the local changes forward when a path was deleted from the index.

* jn/unpack-trees-checkout-m-carry-deletion:
  checkout -m: attempt merge when deletion of path was staged
  unpack-trees: use 'cuddled' style for if-else cascade
  unpack-trees: simplify 'all other failures' case

1  2 
unpack-trees.c

diff --cc unpack-trees.c
Simple merge