diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-04 16:16:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-04 16:16:51 -0700 |
commit | f335393cb267ed983d1b9d6574b95d6f26bd5a85 (patch) | |
tree | 1c8feab891c51ceff96424dbd71474ce8efd65ec /git-config.txt | |
parent | 53850261bf66576e51d8d6b0cee14b692de737e4 (diff) | |
download | git-htmldocs-f335393cb267ed983d1b9d6574b95d6f26bd5a85.tar.gz |
Autogenerated HTML docs for v1.7.12-176-g3fc0e
Diffstat (limited to 'git-config.txt')
-rw-r--r-- | git-config.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git-config.txt b/git-config.txt index 490868eb2..eaea07916 100644 --- a/git-config.txt +++ b/git-config.txt @@ -54,16 +54,16 @@ configuration file by default, and options '--system', '--global', '--file <filename>' can be used to tell the command to write to that location (you can say '--local' but that is the default). -This command will fail (with exit code ret) if: +This command will fail with non-zero status upon error. Some exit +codes are: . 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). +. you try to unset/set an option for which multiple lines match (ret=5), or +. you try to use an invalid regexp (ret=6). On success, the command returns the exit code 0. |