Document git-var -l listing also configuration variables
[git/dscho.git] / Documentation / git-var.txt
blob379571eef0e3f7ee79f7b99c8e85845f5248e79e
1 git-var(1)
2 ==========
4 NAME
5 ----
6 git-var - Print the git users identity
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.
24 EXAMPLE
25 --------
26         $ git-var GIT_AUTHOR_IDENT
27         Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600
30 VARIABLES
31 ----------
32 GIT_AUTHOR_IDENT::
33     The author of a piece of code.
35 GIT_COMMITTER_IDENT::
36     The person who put a piece of code into git.
38 Diagnostics
39 -----------
40 You don't exist. Go away!::
41     The passwd(5) gecos field couldn't be read
42 Your parents must have hated you!::
43     The password(5) gecos field is longer than a giant static buffer.
44 Your sysadmin must hate you!::
45     The password(5) name field is longer than a giant static buffer.
47 See Also
48 --------
49 gitlink:git-commit-tree[1]
50 gitlink:git-tag[1]
51 gitlink:git-repo-config[1]
53 Author
54 ------
55 Written by Eric Biederman <ebiederm@xmission.com>
57 Documentation
58 --------------
59 Documentation by Eric Biederman and the git-list <git@vger.kernel.org>.
61 GIT
62 ---
63 Part of the gitlink:git[7] suite