diff options
author | Elijah Newren <newren@gmail.com> | 2023-10-08 08:45:03 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-10-09 21:04:21 +0200 |
commit | cf6cac20059123d6ec3f867bb3692df62db52cf9 (patch) | |
tree | 99e0ee363183782b239257d69d28282c44100136 /Documentation/git-archive.txt | |
parent | The fifteenth batch (diff) | |
download | git-cf6cac20059123d6ec3f867bb3692df62db52cf9.tar.xz git-cf6cac20059123d6ec3f867bb3692df62db52cf9.zip |
documentation: wording improvements
Diff best viewed with --color-diff.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-archive.txt')
-rw-r--r-- | Documentation/git-archive.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index 6bab201d37..98526f2beb 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -21,14 +21,14 @@ 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 -given a commit ID or tag ID. In the first case the current time is -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 -using 'git get-tar-commit-id'. In ZIP files it is stored as a file -comment. +'git archive' behaves differently when given a tree ID as opposed to a +commit ID or tag ID. When a tree ID is provided, the current time is +used as the modification time of each file in the archive. On the +other hand, when a commit ID or tag ID is provided, 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 using 'git +get-tar-commit-id'. In ZIP files it is stored as a file comment. OPTIONS ------- |