Skip to content

Commit

Permalink
git-archive: update documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Franck Bui-Huu authored and Junio C Hamano committed Sep 26, 2006
1 parent 8391548 commit e8daf78
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Documentation/git-archive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ gitlink:git-am[1]::
gitlink:git-applymbox[1]::
Apply patches from a mailbox, original version by Linus.

gitlink:git-archive[1]::
Creates an archive of files from a named tree.

gitlink:git-bisect[1]::
Find the change that introduced a bug by binary search.

Expand Down

0 comments on commit e8daf78

Please sign in to comment.