X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-archive.txt;h=41cbf9c0819872a322321455b8a5cb805efcc26b;hb=d1983677f75469d177b0b948f0b66ad3471a26a2;hp=dbe9bad2f3272f5972a07e2d5e2a63e1b00f9fcb;hpb=7d3580d74c6d801419dd91416f9a81750b7d4e2c;p=git.git diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index dbe9bad2f..41cbf9c08 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -20,13 +20,13 @@ structure for the named tree, and writes it out to the standard output. If is specified it is prepended to the filenames in the archive. -`git-archive` behaves differently when given a tree ID versus when +'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 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 +using 'git-get-tar-commit-id'. In ZIP files it is stored as a file comment. OPTIONS @@ -57,7 +57,7 @@ OPTIONS --exec=:: Used with --remote to specify the path to the - `git-upload-archive` on the remote side. + 'git-upload-archive' on the remote side. :: The tree or commit to produce an archive for.