Merge branch 'jk/checkout-from-tree' into maint
commit447c39a9b25e222a96711f7736078e4f33001388
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:16:29 +0000 (22 12:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:16:30 +0000 (22 12:16 -0800)
treeab7bebf74d7db8ef26222e88031c296f3e849f04
parentbef111d0a5e4b5dcac07f92b0fc918bb31184066
parentc5326bd62b7e168ba1339dacb7ee812d0fe98c7c
Merge branch 'jk/checkout-from-tree' into maint

"git checkout $treeish $path", when $path in the index and the
working tree already matched what is in $treeish at the $path,
still overwrote the $path unnecessarily.

* jk/checkout-from-tree:
  checkout $tree: do not throw away unchanged index entries
builtin/checkout.c