Merge branch 'jk/checkout-from-tree' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:16:29 +0000 (12:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:16:30 +0000 (12:16 -0800)
"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

1  2 
builtin/checkout.c
Simple merge