write-tree: properly detect failure to write tree objects
authorJunio C Hamano <gitster@pobox.com>
Wed, 23 Apr 2008 16:47:17 +0000 (09:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Apr 2008 17:02:44 +0000 (10:02 -0700)
Tomasz Fortuna reported that "git commit" does not error out properly when
it cannot write tree objects out. "git write-tree" shares the same issue,
as the failure to notice the error is deep in the logic to write tree
objects out recursively.

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