summaryrefslogtreecommitdiff
path: root/Documentation/git-archive.txt
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-09-25 10:31:52 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-26 04:17:43 (GMT)
commite8daf78a00fc618f4b8b5b6253580226560f7dec (patch)
tree16b3a0596fb052d8c7e1e0515061e157af2d3a35 /Documentation/git-archive.txt
parent8391548e5e78677eb81f97334d998418802ea194 (diff)
downloadgit-e8daf78a00fc618f4b8b5b6253580226560f7dec.zip
git-e8daf78a00fc618f4b8b5b6253580226560f7dec.tar.gz
git-e8daf78a00fc618f4b8b5b6253580226560f7dec.tar.bz2
git-archive: update documentation
This patch documents zip backend options. It also adds git-archive command into the main git manual page. Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-archive.txt')
-rw-r--r--Documentation/git-archive.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index 913528d..031fcd5 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -40,6 +40,7 @@ OPTIONS
<extra>::
This can be any options that the archiver backend understand.
+ See next section.
--remote=<repo>::
Instead of making a tar archive from local repository,
@@ -52,6 +53,18 @@ path::
If one or more paths are specified, include only these in the
archive, otherwise include all files and subdirectories.
+BACKEND EXTRA OPTIONS
+---------------------
+
+zip
+~~~
+-0::
+ Store the files instead of deflating them.
+-9::
+ Highest and slowest compression level. You can specify any
+ number from 1 to 9 to adjust compression speed and ratio.
+
+
CONFIGURATION
-------------
By default, file and directories modes are set to 0666 or 0777 in tar