1GIT-GET-TAR-COMMI(1) Git Manual GIT-GET-TAR-COMMI(1)
2
3
4
6 git-get-tar-commit-id - Extract commit ID from an archive created using
7 git-tar-tree
8
10 git-get-tar-commit-id < <tarfile>
11
13 Acts as a filter, extracting the commit ID stored in archives created
14 by git-tar-tree. It reads only the first 1024 bytes of input, thus its
15 runtime is not influenced by the size of <tarfile> very much.
16
17 If no commit ID is found, git-get-tar-commit-id quietly exists with a
18 return code of 1. This can happen if <tarfile> had not been created
19 using git-tar-tree or if the first parameter of git-tar-tree had been a
20 tree ID instead of a commit ID or tag.
21
23 Written by Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
24
26 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
27
29 Part of the git(7) suite
30
31
32
33
34Git 1.5.3.3 10/09/2007 GIT-GET-TAR-COMMI(1)