summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>2008-02-25 21:46:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-29 05:55:26 (GMT)
commitd5ef408b9afb5b4417f4e7e1593a96302d666650 (patch)
tree7c8d2357f8d66fb87e4805abc6b582c54dbf1a5a /Documentation
parent2add1e6db44c81e19cd4263317b53f3c1339e61b (diff)
downloadgit-d5ef408b9afb5b4417f4e7e1593a96302d666650.zip
git-d5ef408b9afb5b4417f4e7e1593a96302d666650.tar.gz
git-d5ef408b9afb5b4417f4e7e1593a96302d666650.tar.bz2
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')
-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 b79be3f..3697896 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
------