author | Linus Torvalds <torvalds@osdl.org> | |
Mon, 21 Nov 2005 20:38:31 +0000 (12:38 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 21 Nov 2005 22:08:49 +0000 (14:08 -0800) | ||
commit | ef07618fdd660057b80fe75007405c62502a5820 | |
tree | 68867d0b3f7a3c1918ffb614e4b48f90ced6d166 | tree | snapshot |
parent | b17e659dd4007cb1d3eb5ac32b524c0c5ab59601 | commit | diff |
git-repack: Properly abort in corrupt repository
In a corrupt repository, git-repack produces a pack that does not
contain needed objects without complaining, and the result of this
combined with -d flag can be very painful -- e.g. a lossage of one
tree object can lead to lossage of blobs reachable only through that
tree.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In a corrupt repository, git-repack produces a pack that does not
contain needed objects without complaining, and the result of this
combined with -d flag can be very painful -- e.g. a lossage of one
tree object can lead to lossage of blobs reachable only through that
tree.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-repack.sh | diff | blob | history | |
pack-objects.c | diff | blob | history |