summaryrefslogtreecommitdiff
path: root/Documentation/git-index-pack.txt
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2005-10-12 19:01:31 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-13 01:32:02 (GMT)
commit9cf6d3357aaaaa89dd86cc156221b7b604e9358c (patch)
tree05414ddb382cbd7a05eaf9181a5d995e6fd3a8a7 /Documentation/git-index-pack.txt
parenta1451104ac2aa97f2e74818787ff54e29b2a77e5 (diff)
downloadgit-9cf6d3357aaaaa89dd86cc156221b7b604e9358c.zip
git-9cf6d3357aaaaa89dd86cc156221b7b604e9358c.tar.gz
git-9cf6d3357aaaaa89dd86cc156221b7b604e9358c.tar.bz2
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.txt44
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 0000000..71ce557
--- /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
+