diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-06 22:11:16 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-06 22:11:16 -0800 |
commit | 4f43e9726af5d036af96de9e5208a6122d378f9b (patch) | |
tree | f50d3e8b91afe0ee2f45430639c2d6947d5ce651 /Documentation/git.txt | |
parent | 1965f8cdbdf86930b99fd61ed2efb22ac3d6a725 (diff) | |
parent | 8f2bbe452e2c2917ec3c9a5d1593f26908cab83b (diff) | |
download | git-4f43e9726af5d036af96de9e5208a6122d378f9b.tar.gz |
Merge branch 'jn/warn-on-inaccessible-loosen'
Deal with a situation where .config/git is a file and we notice
.config/git/config is not readable due to ENOTDIR, not ENOENT.
* jn/warn-on-inaccessible-loosen:
config: exit on error accessing any config file
doc: advertise GIT_CONFIG_NOSYSTEM
config: treat user and xdg config permission problems as errors
config, gitignore: failure to access with ENOTDIR is ok
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 05c0b942be..c03b7adc97 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -777,6 +777,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', |