Skip to content

Commit 58be114

Browse files
deepcubegitster
authored andcommitted
git-config: fix misworded --type=path explanation
When `--type=<type>` was added as a prefered alias for `--<type>` by fb0dc3b (builtin/config.c: support `--type=<type>` as preferred alias for `--<type>`), the explanation for the path type was reworded. Whereas the previous explanation said "expand a leading `~`" this was changed to "adding a leading `~`". Change "adding" to "expanding" to correctly explain the canonicalization. Signed-off-by: Evan Gates <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ec58344 commit 58be114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Valid `<type>`'s include:
201201
1073741824 upon input.
202202
- 'bool-or-int': canonicalize according to either 'bool' or 'int', as described
203203
above.
204-
- 'path': canonicalize by adding a leading `~` to the value of `$HOME` and
204+
- 'path': canonicalize by expanding a leading `~` to the value of `$HOME` and
205205
`~user` to the home directory for the specified user. This specifier has no
206206
effect when setting the value (but you can use `git config section.variable
207207
~/` from the command line to let your shell do the expansion.)

0 commit comments

Comments
 (0)