author | Johannes Sixt <johannes.sixt@telecom.at> | |
Mon, 13 Nov 2006 13:50:00 +0000 (13:50 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 13 Nov 2006 22:26:51 +0000 (14:26 -0800) | ||
commit | 3d12d0cfbbda0feb6305d6c53f3cf9aae2330c4c | |
tree | 9456a5b78dc2991f7158e8e1c536aa0db1a7d8df | tree | snapshot |
parent | 40cf043389ef4cdf3e56e7c4268d6f302e387fa0 | commit | diff |
Catch errors when writing an index that contains invalid objects.
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>
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>
cache-tree.c | diff | blob | history | |
t/t0000-basic.sh | diff | blob | history |