reset [<commit>] paths...: do not mishandle unmerged paths
authorJunio C Hamano <gitster@pobox.com>
Thu, 14 Jul 2011 04:36:29 +0000 (21:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Jul 2011 04:39:18 +0000 (21:39 -0700)
Because "diff --cached HEAD" showed an incorrect blob object name on the
LHS of the diff, we ended up updating the index entry with bogus value,
not what we read from the tree.

Noticed by John Nowak.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found