Catch errors when writing an index that contains invalid objects.
authorJohannes Sixt <johannes.sixt@telecom.at>
Mon, 13 Nov 2006 13:50:00 +0000 (13:50 +0000)
committerJunio C Hamano <junkio@cox.net>
Mon, 13 Nov 2006 22:26:51 +0000 (14:26 -0800)
If git-write-index is called without --missing-ok, it reports invalid
objects that it finds in the index. But without this patch it dies
right away or may run into an infinite loop.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found