-
Notifications
You must be signed in to change notification settings - Fork 14
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
Sublime Merge Not Reading NAME and EMAIL from conditional includes #1998
Comments
After looking into this a bit more...
There appears to be a discrepancy between where Git reads my config files and where Sublime Merge thinks they live: === SM's Config Information === Git Config Path Information Using config path: /etc/gitconfig Using config path: /Users/USER/.config/git/config # Incorrect path Using config path: /Users/USER/.gitconfig # Incorrect path I have |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version info
Description
Git is configured with two conditional includes (
[includeif "gitdir:/<UNIQUE-PATH>/**"]
) which each point to different config files (file A and file B). Sublime Merge seems to read all this information correctly (as correct SSH keys are used based on respective directory). However, with every repo on attempts to commmit changes, Sublime Merge prompts for NAME and EMAIL prior to any successfull commit.Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
All configurations that apply to a repository should be read from gitconfig including the above.
Debug Information
Happy to come back and add debug information if necessary. Just note that this has been consistent across 40+ repositories thus far, without exception.
The text was updated successfully, but these errors were encountered: