diff options
author | Stefan Beller <sbeller@google.com> | 2016-04-26 11:10:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-26 11:32:24 -0700 |
commit | 376eb604c266bc49e078aa3a825cb2388bb3e903 (patch) | |
tree | d79409c428abcc8bc15d732cabc84cddb1892b3b /Documentation/git-config.txt | |
parent | 625efa9decb64e2b51c4bef342922553729cf2f6 (diff) | |
download | git-376eb604c266bc49e078aa3a825cb2388bb3e903.tar.gz |
config doc: improve exit code listingsb/config-exit-status-list
The possible reasons for exiting are now ordered by the exit code value.
While at it, rewrite the `can not write to the config file` to
`the config file cannot be written` to be grammatically correct and a
proper sentence.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-config.txt')
-rw-r--r-- | Documentation/git-config.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 6fc08e3d89..6843114fc0 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -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). |