diff options
author | Junio C Hamano <junio@kernel.org> | 2011-05-23 23:06:31 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-05-23 23:06:31 +0000 |
commit | 2a294cdddac356b905bb00d260fbd221d91af595 (patch) | |
tree | 7d2d0b207286927bba4e983e2c699cd69217fe3f /git-config.txt | |
parent | 300d43650761892e5a570d8b4d83433de5052ea8 (diff) | |
download | git-htmldocs-2a294cdddac356b905bb00d260fbd221d91af595.tar.gz |
Autogenerated HTML docs for v1.7.5.2-353-g5df3e
Diffstat (limited to 'git-config.txt')
-rw-r--r-- | git-config.txt | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/git-config.txt b/git-config.txt index 8804de327..e7ecf5d80 100644 --- a/git-config.txt +++ b/git-config.txt @@ -50,16 +50,18 @@ The default is to assume the config file of the current repository, .git/config unless defined otherwise with GIT_DIR and GIT_CONFIG (see <<FILES>>). -This command will fail if: - -. The config file is invalid, -. Can not write to the config file, -. no section was provided, -. the section or key is invalid, -. you try to unset an option which does not exist, -. you try to unset/set an option for which multiple lines match, or -. you use '--global' option without $HOME being properly set. - +This command will fail (with exit code ret) if: + +. The config file is invalid (ret=3), +. can not write to the config file (ret=4), +. no section or name was provided (ret=2), +. the section or key is invalid (ret=1), +. you try to unset an option which does not exist (ret=5), +. you try to unset/set an option for which multiple lines match (ret=5), +. you try to use an invalid regexp (ret=6), or +. you use '--global' option without $HOME being properly set (ret=128). + +On success, the command returns the exit code 0. OPTIONS ------- |