Skip to content

Commit 94c5b0e

Browse files
johnkeepinggitster
authored andcommitted
Documentation/git-config: use bulleted list for exit codes
Using a numbered list is confusing because the exit codes are not listed in order so the numbers at the start of each line do not match the exit codes described by the following text. Switch to a bulleted list so that the only number appearing on each line is the exit code described. Signed-off-by: John Keeping <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 27b30be commit 94c5b0e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Documentation/git-config.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ that location (you can say '--local' but that is the default).
5858
This command will fail with non-zero status upon error. Some exit
5959
codes are:
6060

61-
. The config file is invalid (ret=3),
62-
. can not write to the config file (ret=4),
63-
. no section or name was provided (ret=2),
64-
. the section or key is invalid (ret=1),
65-
. you try to unset an option which does not exist (ret=5),
66-
. you try to unset/set an option for which multiple lines match (ret=5), or
67-
. you try to use an invalid regexp (ret=6).
61+
- The config file is invalid (ret=3),
62+
- can not write to the config file (ret=4),
63+
- no section or name was provided (ret=2),
64+
- the section or key is invalid (ret=1),
65+
- you try to unset an option which does not exist (ret=5),
66+
- you try to unset/set an option for which multiple lines match (ret=5), or
67+
- you try to use an invalid regexp (ret=6).
6868

6969
On success, the command returns the exit code 0.
7070

0 commit comments

Comments
 (0)