path: root/Documentation/git-index-pack.txt
diff options
authorNicolas Pitre <>2006-10-26 03:28:17 (GMT)
committerJunio C Hamano <>2006-10-26 07:20:07 (GMT)
commit636171cb80255682bdfc9bf5a98c9e66d4c0444a (patch)
treee759d2027c2d636a21cd2bb8b9e351721013535a /Documentation/git-index-pack.txt
parente42797f5b6d5ed3b8c894d89493e285c40d58dc8 (diff)
make index-pack able to complete thin packs.
A new flag, --fix-thin, instructs git-index-pack to append any missing objects to a thin pack to make it self contained and indexable. Of course objects missing from the pack must be present elsewhere in the local repository. Signed-off-by: Nicolas Pitre <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-index-pack.txt')
1 files changed, 13 insertions, 1 deletions
diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt
index db7af58..c58287d 100644
--- a/Documentation/git-index-pack.txt
+++ b/Documentation/git-index-pack.txt
@@ -8,7 +8,8 @@ git-index-pack - Build pack index file for an existing packed archive
-'git-index-pack' [-o <index-file>] { <pack-file> | --stdin [<pack-file>] }
+'git-index-pack' [-o <index-file>] <pack-file>
+'git-index-pack' --stdin [--fix-thin] [-o <index-file>] [<pack-file>]
@@ -36,6 +37,17 @@ OPTIONS
objects/pack/ directory of the current git repository with
a default name determined from the pack content.
+ It is possible for gitlink:git-pack-objects[1] to build
+ "thin" pack, which records objects in deltified form based on
+ objects not included in the pack to reduce network traffic.
+ Those objects are expected to be present on the receiving end
+ and they must be included in the pack for that pack to be self
+ contained and indexable. Without this option any attempt to
+ index a thin pack will fail. This option only makes sense in
+ conjonction with --stdin.
Written by Sergey Vlasov <>