summaryrefslogtreecommitdiff
path: root/Documentation/git-index-pack.txt
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2006-10-25 23:28:17 -0400
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-26 00:20:07 -0700
commit636171cb80255682bdfc9bf5a98c9e66d4c0444a (patch)
treee759d2027c2d636a21cd2bb8b9e351721013535a /Documentation/git-index-pack.txt
parentenable index-pack streaming capability (diff)
downloadtgif-636171cb80255682bdfc9bf5a98c9e66d4c0444a.tar.xz
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 <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-index-pack.txt')
-rw-r--r--Documentation/git-index-pack.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt
index db7af5859e..c58287d682 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
SYNOPSIS
--------
-'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>]
DESCRIPTION
@@ -36,6 +37,17 @@ OPTIONS
objects/pack/ directory of the current git repository with
a default name determined from the pack content.
+--fix-thin::
+ 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.
+
+
Author
------
Written by Sergey Vlasov <vsu@altlinux.ru>