Jakub Narebski <jnareb@xxxxxxxxx> writes: >> diff --git a/Documentation/config.txt b/Documentation/config.txt >> index d1e2120..c37b51d 100644 >> --- a/Documentation/config.txt >> +++ b/Documentation/config.txt >> @@ -380,7 +380,8 @@ Common unit suffixes of 'k', 'm', or 'g' are supported. >> core.excludesfile:: >> In addition to '.gitignore' (per-directory) and >> '.git/info/exclude', git looks into this file for patterns >> - of files which are not meant to be tracked. See >> + of files which are not meant to be tracked. "~" and "~user" >> + are expanded to the user's home directory. See >> linkgit:gitignore[5]. >> >> core.editor:: > > It would be nice to have an option to git-config which would do such > expansion, as a separate type similar to --int and --bool, e.g.: > > git config --path section.key > > so that not only core.excludesfile could use this new feature, but for > example also core.worktree, commit.template, gitcvs.logfile, > mailmap.file, and perhaps also *.receivepack and *.uploadpack What should "git config -l" do for these (and core.excludesfile)? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html