1GIT-GET-TAR-COMMI(1)              Git Manual              GIT-GET-TAR-COMMI(1)
2
3
4

NAME

6       git-get-tar-commit-id - Extract commit ID from an archive created using
7       git-archive
8

SYNOPSIS

10       git get-tar-commit-id < <tarfile>
11

DESCRIPTION

13       Acts as a filter, extracting the commit ID stored in archives created
14       by git archive. 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 archive or if the first parameter of git archive had been a
20       tree ID instead of a commit ID or tag.
21

AUTHOR

23       Written by Rene Scharfe <rene.scharfe@lsrfire.ath.cx[1]>
24

DOCUMENTATION

26       Documentation by Junio C Hamano and the git-list
27       <git@vger.kernel.org[2]>.
28

GIT

30       Part of the git(1) suite
31

NOTES

33        1. rene.scharfe@lsrfire.ath.cx
34           mailto:rene.scharfe@lsrfire.ath.cx
35
36        2. git@vger.kernel.org
37           mailto:git@vger.kernel.org
38
39
40
41Git 1.7.1                         08/16/2017              GIT-GET-TAR-COMMI(1)
Impressum