git-user-name
git-user-name copied to clipboard
user name in included file is ignored
The git configuration allows including further files. This is useful, for example when one wants to source-control ones git configuration, but have different user names or email addresses for work and non-work contexts.
However, this library does not seem to parse these included files and thus does not seem to detect the user name included therein.
I'm also getting this problem, we could fix this by passing a flag to this package useIncludes: true
or something. Then recursively check includes with this package git-config-path.
https://github.com/jonschlinkert/git-user-name/blob/22cf1d3880356c754f7d84dec242987a3b8fcc7e/index.js#L13-L16