index-pack: be careful after fixing up the header/footer
[git/dscho.git] / Documentation / git-var.txt
blob3647dd6c8f9c74a688f7a143119386ba89a8f13d
1 git-var(1)
2 ==========
4 NAME
5 ----
6 git-var - Show a git logical variable
9 SYNOPSIS
10 --------
11 'git var' [ -l | <variable> ]
13 DESCRIPTION
14 -----------
15 Prints a git logical variable.
17 OPTIONS
18 -------
19 -l::
20         Cause the logical variables to be listed. In addition, all the
21         variables of the git configuration file .git/config are listed
22         as well. (However, the configuration variables listing functionality
23         is deprecated in favor of 'git-config -l'.)
25 EXAMPLE
26 --------
27         $ git var GIT_AUTHOR_IDENT
28         Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600
31 VARIABLES
32 ----------
33 GIT_AUTHOR_IDENT::
34     The author of a piece of code.
36 GIT_COMMITTER_IDENT::
37     The person who put a piece of code into git.
39 Diagnostics
40 -----------
41 You don't exist. Go away!::
42     The passwd(5) gecos field couldn't be read
43 Your parents must have hated you!::
44     The password(5) gecos field is longer than a giant static buffer.
45 Your sysadmin must hate you!::
46     The password(5) name field is longer than a giant static buffer.
48 SEE ALSO
49 --------
50 linkgit:git-commit-tree[1]
51 linkgit:git-tag[1]
52 linkgit:git-config[1]
54 Author
55 ------
56 Written by Eric Biederman <ebiederm@xmission.com>
58 Documentation
59 --------------
60 Documentation by Eric Biederman and the git-list <git@vger.kernel.org>.
62 GIT
63 ---
64 Part of the linkgit:git[1] suite