X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-index-pack.txt;h=a8a7f6f04bf5b95a5b325dc2df0adf9d94532bc5;hb=9b2a1821245c0e638f7b5e9da81118743fcc0120;hp=1235416e09d405b3bec118f6abe8e65e551fb696;hpb=aac91b7eeae4e8cf6521a5370caf03eb432ce492;p=git.git diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt index 1235416e0..a8a7f6f04 100644 --- a/Documentation/git-index-pack.txt +++ b/Documentation/git-index-pack.txt @@ -8,8 +8,10 @@ git-index-pack - Build pack index file for an existing packed archive SYNOPSIS -------- +[verse] 'git-index-pack' [-v] [-o ] -'git-index-pack' --stdin [--fix-thin] [--keep] [-v] [-o ] [] +'git-index-pack' --stdin [--fix-thin] [--keep] [-v] [-o ] + [] DESCRIPTION @@ -68,6 +70,22 @@ OPTIONS message can later be searched for within all .keep files to locate any which have outlived their usefulness. +--index-version=[,]:: + This is intended to be used by the test suite only. It allows + to force the version for the generated pack index, and to force + 64-bit index entries on objects located above the given offset. + + +Note +---- + +Once the index has been created, the list of object names is sorted +and the SHA1 hash of that list is printed to stdout. If --stdin was +also used then this is prefixed by either "pack\t", or "keep\t" if a +new .keep file was successfully created. This is useful to remove a +.keep file used as a lock to prevent the race with gitlink:git-repack[1] +mentioned above. + Author ------ @@ -80,4 +98,3 @@ Documentation by Sergey Vlasov GIT --- Part of the gitlink:git[7] suite -