-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-pull-request needs user.email but does not check global includes #546
Comments
note, I did not look elsewhere in the source tree to see if this same problem exists in other subcommands; it may. The tools shouldn't require the user to use a single-file flat |
Would you like to send a pr? |
I've opened a PR that should resolve this issue. |
@smemsh Please re-open if your issue still persist. |
timfeirg
referenced
this issue
in timfeirg/git-extras
Apr 26, 2019
pull-request: should read local config if present
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
git-pull-request
there is on L29:but if I set
user.email
from an include section via~/.gitconfig
, this is not shown due to this default behavior of git:this would force me to set
user.email
directly in~/.gitconfig
and not in an[include]
section. I think this is not really a sane default for git, but nonetheless, that's what they chose. Thereforegit-pull-request
needs to add--includes
to this line to pull it in. What might also work is removing--global
(which works fine, and pulls in includes). I don't see why it's needed; only the value is really needed, it should not matter if it comes from repo-local, global, include, or wherever.The text was updated successfully, but these errors were encountered: