diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-10-14 10:53:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-14 19:14:46 +0200 |
commit | e8ef401cd0ff5d51b148c1b1297dab6ef32227c1 (patch) | |
tree | 547ed1c207013c283fdcd4ebf7eb3500ca3dee22 /Documentation/git.txt | |
parent | config: treat user and xdg config permission problems as errors (diff) | |
download | git-e8ef401cd0ff5d51b148c1b1297dab6ef32227c1.tar.xz git-e8ef401cd0ff5d51b148c1b1297dab6ef32227c1.zip |
doc: advertise GIT_CONFIG_NOSYSTEM
On a multiuser system where mortals do not have write access to /etc,
the GIT_CONFIG_NOSYSTEM variable is the best tool we have to keep
getting work done when a syntax error or other problem renders
/etc/gitconfig buggy, until the sysadmin sorts the problem out.
Noticed while experimenting with teaching git to error out when
/etc/gitconfig is unreadable.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r-- | Documentation/git.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index 27da0eb209..96712889f8 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -771,6 +771,14 @@ for further details. and read the password from its STDOUT. See also the 'core.askpass' option in linkgit:git-config[1]. +'GIT_CONFIG_NOSYSTEM':: + Whether to skip reading settings from the system-wide + `$(prefix)/etc/gitconfig` file. This environment variable can + be used along with `$HOME` and `$XDG_CONFIG_HOME` to create a + predictable environment for a picky script, or you can set it + temporarily to avoid using a buggy `/etc/gitconfig` file while + waiting for someone with sufficient permissions to fix it. + 'GIT_FLUSH':: If this environment variable is set to "1", then commands such as 'git blame' (in incremental mode), 'git rev-list', 'git log', |