aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-unpack-objects.txt
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 /Documentation/git-unpack-objects.txt
parent79b1138e7894ea048008f6b99908f5cd36e94949 (diff)
downloadgit-b41860bf28a16ad6015eb0c55dc95602f1235640.tar.gz
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 'Documentation/git-unpack-objects.txt')
-rw-r--r--Documentation/git-unpack-objects.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt
index b79be3fd4c..3697896a06 100644
--- a/Documentation/git-unpack-objects.txt
+++ b/Documentation/git-unpack-objects.txt
@@ -40,6 +40,9 @@ OPTIONS
and make the best effort to recover as many objects as
possible.
+--strict::
+ Don't write objects with broken content or links.
+
Author
------