Skip to content

Commit 3717715

Browse files
committed
Merge branch 'jc/doc-includeif-hasconfig-remote-url-fix' into seen
Doc mark-up fix. * jc/doc-includeif-hasconfig-remote-url-fix: config: document includeIf conditions consistently
2 parents 1c653aa + ac70967 commit 3717715

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Documentation/config.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ whose format and meaning depends on the keyword. Supported keywords
114114
are:
115115

116116
`gitdir`::
117-
118-
The data that follows the keyword `gitdir:` is used as a glob
117+
The data that follows the keyword `gitdir` and a colon is used as a glob
119118
pattern. If the location of the .git directory matches the
120119
pattern, the include condition is met.
121120
+
@@ -148,7 +147,7 @@ refer to linkgit:gitignore[5] for details. For convenience:
148147
case-insensitively (e.g. on case-insensitive file systems)
149148

150149
`onbranch`::
151-
The data that follows the keyword `onbranch:` is taken to be a
150+
The data that follows the keyword `onbranch` and a colon is taken to be a
152151
pattern with standard globbing wildcards and two additional
153152
ones, `**/` and `/**`, that can match multiple path components.
154153
If we are in a worktree where the name of the branch that is
@@ -161,8 +160,8 @@ all branches that begin with `foo/`. This is useful if your branches are
161160
organized hierarchically and you would like to apply a configuration to
162161
all the branches in that hierarchy.
163162

164-
`hasconfig:remote.*.url:`::
165-
The data that follows this keyword is taken to
163+
`hasconfig:remote.*.url`::
164+
The data that follows this keyword and a colon is taken to
166165
be a pattern with standard globbing wildcards and two
167166
additional ones, `**/` and `/**`, that can match multiple
168167
components. The first time this keyword is seen, the rest of

0 commit comments

Comments
 (0)