On May 22 13:12, Johannes Schindelin wrote: > NOTE! This iteration presents patches 1 & 2 only for completeness' sake > and for backporting, as they have been applied to Cygwin's main branch > already. > > This patch series supports Git for Windows' default strategy to > determine the current user's home directory by looking at the > environment variable HOME, falling back to HOMEDRIVE and HOMEPATH, and > if these variables are also unset, to USERPROFILE. > > This strategy is a quick method to determine the home directory, > certainly quicker than looking at LDAP, even more so when a domain > controller is unreachable and causes long hangs in Cygwin's startup. > > This strategy also allows users to override the home directory easily > (e.g. in case that their real home directory is a network share that is > not all that well handled by some commands such as cmd.exe's cd > command). > > Changes since v6: > > - Fixed a typo in the last commit's message. > > - Support UNC paths as `HOME` values, too. (Tested, works beautifully, I > can now share my WSL home directory with Cygwin.)
Pushed. Thanks, Corinna