Browse Source

Merge branch 'sb/config-exit-status-list' into HEAD

Doc update.

* sb/config-exit-status-list:
  config doc: improve exit code listing
maint
Junio C Hamano 9 years ago
parent
commit
258b862edb
  1. 6
      Documentation/git-config.txt

6
Documentation/git-config.txt

@ -58,10 +58,10 @@ that location (you can say '--local' but that is the default). @@ -58,10 +58,10 @@ that location (you can say '--local' but that is the default).
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),
- The section or key is invalid (ret=1),
- no section or name was provided (ret=2),
- the section or key is invalid (ret=1),
- the config file is invalid (ret=3),
- the config file cannot be written (ret=4),
- 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), or
- you try to use an invalid regexp (ret=6).

Loading…
Cancel
Save