-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Document how $HOME is set on Windows #1548
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
Conversation
Git documentation refers to $HOME and $XDG_CONFIG_HOME often, but does not specify how or where these values come from on Windows where neither is set by default. The new documentation reflects the behavior of setup_windows_environment() in compat/mingw.c. Signed-off-by: Alejandro Barreto <[email protected]>
Thank you for your contribution! And sorry for waiting so long to merge it; I meant to communicate more publicly that I was struggling with some issues in the automated build that backs the snapshots; Happily, these issues are sorted out and the next snapshot build will include your changes! |
Document how $HOME is set on Windows
should be
|
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
Document how $HOME is set on Windows
You mentioned $HOME and $XDG_CONFIG_HOME but this pull request just documents $HOME. What happened to $XDG_CONFIG_HOME? |
@sixcorners You're right that this change only documented $HOME (as the title says) and that there still is a documentation gap with $XDG_CONFIG_HOME. You can find how $XDG_CONFIG_HOME is set here: https://github.com/git-for-windows/git/blob/master/path.c#L1422 Basically, it falls back on a derivative path of $HOME. Perhaps you would like to contribute the new section for this variable? |
|
Git documentation refers to $HOME and $XDG_CONFIG_HOME often, but does not specify how or where these values come from on Windows where neither is set by default. The new documentation reflects the behavior of setup_windows_environment() in compat/mingw.c.