Code

builtin-pack-objects: don't fail, if delta is not possible
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>
Mon, 28 May 2007 21:20:57 +0000 (23:20 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 29 May 2007 08:24:42 +0000 (01:24 -0700)
commita588d88aaff312f3afd5713ffcb4e4b1829fb5a6
tree7f2deddfebded03b6b0f66ba78647e840f1b8218
parent322bcd9a9a2c0081c66414bde64e0d443c9ec922
builtin-pack-objects: don't fail, if delta is not possible

If builtin-pack-objects runs out of memory while finding
the best deltas, it bails out with an error.

If the delta index creation fails (because there is not enough memory),
we can downgrade the error message to a warning and continue with the
next object.

Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c