]> git.ipfire.org Git - thirdparty/git.git/blame_incremental - Documentation/git-get-tar-commit-id.txt
Merge branch 'md/list-objects-filter-memfix' into maint
[thirdparty/git.git] / Documentation / git-get-tar-commit-id.txt
... / ...
CommitLineData
1git-get-tar-commit-id(1)
2========================
3
4NAME
5----
6git-get-tar-commit-id - Extract commit ID from an archive created using git-archive
7
8
9SYNOPSIS
10--------
11[verse]
12'git get-tar-commit-id'
13
14
15DESCRIPTION
16-----------
17
18Read a tar archive created by 'git archive' from the standard input
19and extract the commit ID stored in it. It reads only the first
201024 bytes of input, thus its runtime is not influenced by the size
21of the tar archive very much.
22
23If no commit ID is found, 'git get-tar-commit-id' quietly exists with a
24return code of 1. This can happen if the archive had not been created
25using 'git archive' or if the first parameter of 'git archive' had been
26a tree ID instead of a commit ID or tag.
27
28GIT
29---
30Part of the linkgit:git[1] suite