@matheusbsbs / matheus-bagliano / commits / 90a36e581d
Fork 0

git-config: Various small fixes to asciidoc documentation

Add '' around the only mentioned commandline option that didn't have it. Make reference to section EXAMPLE a link and rename it to EXAMPLES because it actually contains a lot of examples. Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de> Signed-off-by: Junio C Hamano <junkio@cox.net>

Frank Lichtenheld committed May 31, 2007 at 02:35 UTC 90a36e581daa25949fd0ff68fc68ae5b705fc990
1 file changed +6 -4
Documentation/git-config.txt
+6 -4
@@ -31,7 +31,7 @@ If you want to update or unset an option which can occur on multiple
31 lines, a POSIX regexp `value_regex` needs to be given. Only the
32 existing values that match the regexp are updated or unset. If
33 you want to handle the lines that do *not* match the regex, just
34 -prepend a single exclamation mark in front (see EXAMPLES).
34 +prepend a single exclamation mark in front (see also <<EXAMPLES>>).
35
36 The type specifier can be either '--int' or '--bool', which will make
37 'git-config' ensure that the variable(s) are of the given type and
@@ -48,7 +48,7 @@ This command will fail if:
48 . the section or key is invalid,
49 . you try to unset an option which does not exist,
50 . you try to unset/set an option for which multiple lines match, or
51 -. you use --global option without $HOME being properly set.
51 +. you use '--global' option without $HOME being properly set.
52
53
54 OPTIONS
@@ -119,8 +119,10 @@ GIT_CONFIG_LOCAL::
119 from the global configuration file in addition to the given file.
120
121
122 -EXAMPLE
123 --------
122 +
123 +[[EXAMPLES]]
124 +EXAMPLES
125 +--------
126
127 Given a .git/config like this:
128