From: Evan Gates Date: Fri, 15 Sep 2023 20:24:59 +0000 (-0600) Subject: git-config: fix misworded --type=path explanation X-Git-Tag: v2.42.1~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58be11432edfe2fc9887266fe9dbc450b5547e78;p=thirdparty%2Fgit.git git-config: fix misworded --type=path explanation When `--type=` was added as a prefered alias for `--` by fb0dc3bac1 (builtin/config.c: support `--type=` as preferred alias for `--`), 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 7a2bcb2f6c..b1caac887a 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -201,7 +201,7 @@ Valid ``'s include: 1073741824 upon input. - 'bool-or-int': canonicalize according to either 'bool' or 'int', as described above. -- 'path': canonicalize by adding a leading `~` to the value of `$HOME` and +- 'path': canonicalize by expanding a leading `~` to the value of `$HOME` and `~user` to the home directory for the specified user. This specifier has no effect when setting the value (but you can use `git config section.variable ~/` from the command line to let your shell do the expansion.)