From e8daf78a00fc618f4b8b5b6253580226560f7dec Mon Sep 17 00:00:00 2001 From: Franck Bui-Huu Date: Mon, 25 Sep 2006 12:31:52 +0200 Subject: 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 Signed-off-by: Junio C Hamano --- Documentation/git-archive.txt | 13 +++++++++++++ Documentation/git.txt | 3 +++ 2 files changed, 16 insertions(+) diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index 913528d373..031fcd5190 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -40,6 +40,7 @@ OPTIONS :: This can be any options that the archiver backend understand. + See next section. --remote=:: 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 diff --git a/Documentation/git.txt b/Documentation/git.txt index 1bf5ef57e4..2135b65516 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -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. -- cgit v1.2.3