@matheusbsbs / matheus-bagliano / commits / e8daf78a00
Fork 0

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>

Franck Bui-Huu committed Sep 25, 2006 at 12:31 UTC e8daf78a00fc618f4b8b5b6253580226560f7dec
2 files changed +16
Documentation/git-archive.txt
+13
@@ -40,6 +40,7 @@ OPTIONS
40
41 <extra>::
42 This can be any options that the archiver backend understand.
43 + See next section.
44
45 --remote=<repo>::
46 Instead of making a tar archive from local repository,
@@ -52,6 +53,18 @@ path::
53 If one or more paths are specified, include only these in the
54 archive, otherwise include all files and subdirectories.
55
56 +BACKEND EXTRA OPTIONS
57 +---------------------
58 +
59 +zip
60 +~~~
61 +-0::
62 + Store the files instead of deflating them.
63 +-9::
64 + Highest and slowest compression level. You can specify any
65 + number from 1 to 9 to adjust compression speed and ratio.
66 +
67 +
68 CONFIGURATION
69 -------------
70 By default, file and directories modes are set to 0666 or 0777 in tar
Documentation/git.txt
+3
@@ -266,6 +266,9 @@ gitlink:git-am[1]::
266 gitlink:git-applymbox[1]::
267 Apply patches from a mailbox, original version by Linus.
268
269 +gitlink:git-archive[1]::
270 + Creates an archive of files from a named tree.
271 +
272 gitlink:git-bisect[1]::
273 Find the change that introduced a bug by binary search.
274