diff options
author | Sergey Vlasov <vsu@altlinux.ru> | 2005-10-12 12:01:31 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-12 18:32:02 -0700 |
commit | 9cf6d3357aaaaa89dd86cc156221b7b604e9358c (patch) | |
tree | 05414ddb382cbd7a05eaf9181a5d995e6fd3a8a7 /Documentation/git-index-pack.txt | |
parent | a1451104ac2aa97f2e74818787ff54e29b2a77e5 (diff) | |
download | git-9cf6d3357aaaaa89dd86cc156221b7b604e9358c.tar.gz |
Add git-index-pack utility
git-index-pack builds a pack index file for an existing packed
archive. With this utility a packed archive which was transferred
without the corresponding pack index can be added to objects/pack/
without repacking.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-index-pack.txt')
-rw-r--r-- | Documentation/git-index-pack.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt new file mode 100644 index 0000000000..71ce557276 --- /dev/null +++ b/Documentation/git-index-pack.txt @@ -0,0 +1,44 @@ +git-index-pack(1) +================= + +NAME +---- +git-index-pack - Build pack index file for an existing packed archive + + +SYNOPSIS +-------- +'git-index-pack' [-o <index-file>] <pack-file> + + +DESCRIPTION +----------- +Reads a packed archive (.pack) from the specified file, and +builds a pack index file (.idx) for it. The packed archive +together with the pack index can then be placed in the +objects/pack/ directory of a git repository. + + +OPTIONS +------- +-o <index-file>:: + Write the generated pack index into the specified + file. Without this option the name of pack index + file is constructed from the name of packed archive + file by replacing .pack with .idx (and the program + fails if the name of packed archive does not end + with .pack). + + +Author +------ +Written by Sergey Vlasov <vsu@altlinux.ru> + +Documentation +------------- +Documentation by Sergey Vlasov + +GIT +--- +Part of the gitlink:git[7] suite + |