Merge branch 'jk/checkout-from-tree'
authorJunio C Hamano <gitster@pobox.com>
Fri, 5 Dec 2014 19:41:33 +0000 (11:41 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Dec 2014 19:41:33 +0000 (11:41 -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