diff options
author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | 2008-02-25 22:46:11 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-05 10:53:11 -0800 |
commit | b41860bf28a16ad6015eb0c55dc95602f1235640 (patch) | |
tree | 5c894f4e2ec1dc1e8d0bb2e2d4a7524a160e080f /t/t9600-cvsimport.sh | |
parent | fsck.c: fix bogus "empty tree" check (diff) | |
download | tgif-b41860bf28a16ad6015eb0c55dc95602f1235640.tar.xz |
unpack-objects: prevent writing of inconsistent objects
This patch introduces a strict mode, which ensures that:
- no malformed object will be written
- no object with broken links will be written
The patch ensures this by delaying the write of all non blob object.
These object are written, after all objects they link to are written.
An error can only result in unreferenced objects.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9600-cvsimport.sh')
0 files changed, 0 insertions, 0 deletions