Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: minor grammatical fixes in git-archive.txt.
author
David J. Mellor
<dmellor@whistlingcat.com>
Tue, 17 Mar 2009 06:16:14 +0000
(23:16 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 17 Mar 2009 07:13:39 +0000
(
00:13
-0700)
Signed-off-by: David J. Mellor <dmellor@whistlingcat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-archive.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
6f55ee4
)
diff --git
a/Documentation/git-archive.txt
b/Documentation/git-archive.txt
index 5b3eb12c8a1e8ac50f09745efd091882b248f1bc..ad38f7f39db8d3b973f0ede255f65bb0627bb416 100644
(file)
--- a/
Documentation/git-archive.txt
+++ b/
Documentation/git-archive.txt
@@
-22,7
+22,7
@@
prepended to the filenames in the archive.
'git-archive' behaves differently when given a tree ID versus when
given a commit ID or tag ID. In the first case the current time is
'git-archive' behaves differently when given a tree ID versus when
given a commit ID or tag ID. In the first case the current time is
-used as modification time of each file in the archive. In the latter
+used as
the
modification time of each file in the archive. In the latter
case the commit time as recorded in the referenced commit object is
used instead. Additionally the commit ID is stored in a global
extended pax header if the tar format is used; it can be extracted
case the commit time as recorded in the referenced commit object is
used instead. Additionally the commit ID is stored in a global
extended pax header if the tar format is used; it can be extracted
@@
-48,11
+48,11
@@
OPTIONS
Prepend <prefix>/ to each filename in the archive.
<extra>::
Prepend <prefix>/ to each filename in the archive.
<extra>::
- This can be any options that the archiver backend understand.
+ This can be any options that the archiver backend understand
s
.
See next section.
--remote=<repo>::
See next section.
--remote=<repo>::
- Instead of making a tar archive from local repository,
+ Instead of making a tar archive from
the
local repository,
retrieve a tar archive from a remote repository.
--exec=<git-upload-archive>::
retrieve a tar archive from a remote repository.
--exec=<git-upload-archive>::
@@
-105,7
+105,7
@@
EXAMPLES
git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
Create a tar archive that contains the contents of the
git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
Create a tar archive that contains the contents of the
- latest commit on the current branch, and extract
s it in
+ latest commit on the current branch, and extract
it in the
`/var/tmp/junk` directory.
git archive --format=tar --prefix=git-1.4.0/ v1.4.0 | gzip >git-1.4.0.tar.gz::
`/var/tmp/junk` directory.
git archive --format=tar --prefix=git-1.4.0/ v1.4.0 | gzip >git-1.4.0.tar.gz::