apply: verify submodule commit object name better
commit5e026920a9465c6c3e026c5bf0d1c4d9d3f05cfa
authorJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2013 19:19:32 +0000 (5 11:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2013 19:20:09 +0000 (5 11:20 -0800)
tree82eb8b842531e7222c03a55438f0144159d94def
parente28efb1998bb0b73057de13b9568f6aef439a583
apply: verify submodule commit object name better

A textual patch also records the submodule commit object name in
full.  Make the parsing more robust by reading from there and
verifying the (possibly abbreviated) name on the index line matches.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/apply.c