summaryrefslogtreecommitdiff
path: root/Documentation/git-archive.txt
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2007-09-14 21:38:02 +0300
committerJunio C Hamano <gitster@pobox.com>2007-09-14 12:17:11 -0700
commit42b5f8693eddbbd486579fb2304db1bc7282ac26 (patch)
tree7b75e3e6013976d85b8d8c778d0e75dc657de631 /Documentation/git-archive.txt
parent0024a54923a12f8c05ce4290f5ebefab0cce4336 (diff)
downloadgit-42b5f8693eddbbd486579fb2304db1bc7282ac26.tar.gz
Documentation/git-archive.txt: a couple of clarifications.
The description of the option gave impression that there were several formats available by using three dots. There are no other formats than tar and gzip currently supported. Clarify that the archive goes to the standard output. Signed-off-by: Jari Aalto <jari.aalto@cante.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-archive.txt')
-rw-r--r--Documentation/git-archive.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index f2080eb6ad..e1e2d60fef 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -15,7 +15,8 @@ SYNOPSIS
DESCRIPTION
-----------
Creates an archive of the specified format containing the tree
-structure for the named tree. If <prefix> is specified it is
+structure for the named tree, and writes it out to the standard
+output. If <prefix> is specified it is
prepended to the filenames in the archive.
'git-archive' behaves differently when given a tree ID versus when
@@ -31,7 +32,7 @@ OPTIONS
-------
--format=<fmt>::
- Format of the resulting archive: 'tar', 'zip'... The default
+ Format of the resulting archive: 'tar' or 'zip'. The default
is 'tar'.
--list, -l::