aboutsummaryrefslogtreecommitdiff
path: root/builtin-http-fetch.c
diff options
context:
space:
mode:
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>2008-02-25 22:46:11 +0100
committerJunio C Hamano <gitster@pobox.com>2008-03-05 10:53:11 -0800
commitb41860bf28a16ad6015eb0c55dc95602f1235640 (patch)
tree5c894f4e2ec1dc1e8d0bb2e2d4a7524a160e080f /builtin-http-fetch.c
parent79b1138e7894ea048008f6b99908f5cd36e94949 (diff)
downloadgit-b41860bf28a16ad6015eb0c55dc95602f1235640.tar.gz
git-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 'builtin-http-fetch.c')
0 files changed, 0 insertions, 0 deletions