@matheusbsbs / matheus-bagliano / commits / 42b5f8693e
Fork 0

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>

Jari Aalto committed Sep 14, 2007 at 21:38 UTC 42b5f8693eddbbd486579fb2304db1bc7282ac26
1 file changed +3 -2
Documentation/git-archive.txt
+3 -2
@@ -15,7 +15,8 @@ SYNOPSIS
15 DESCRIPTION
16 -----------
17 Creates an archive of the specified format containing the tree
18 -structure for the named tree. If <prefix> is specified it is
18 +structure for the named tree, and writes it out to the standard
19 +output. If <prefix> is specified it is
20 prepended to the filenames in the archive.
21
22 'git-archive' behaves differently when given a tree ID versus when
@@ -31,7 +32,7 @@ OPTIONS
32 -------
33
34 --format=<fmt>::
34 - Format of the resulting archive: 'tar', 'zip'... The default
35 + Format of the resulting archive: 'tar' or 'zip'. The default
36 is 'tar'.
37
38 --list, -l::