Closed GoogleCodeExporter closed 9 years ago
In your case, is %USERPROFILE% accessible to you?
Original comment by ch3co...@gmail.com
on 23 Feb 2015 at 1:10
Another thing is that the fallback code is in bash only.
git.exe does not have such fallback code in msysgit/git.git: compat/mingw.c:
get_windows_home_directory()
So I suspect if git.exe works without Git Bash.
And our gitdll.c has a copy of get_windows_home_directory() which comes from
msysgit.
Original comment by ch3co...@gmail.com
on 23 Feb 2015 at 1:15
Yes, %USERPROFILE% points to a place on the C-disk, so it is accessible also
when running elevated.
You are correct that it only works in Git Bash, not when running from the
regular cmd.
Original comment by fred...@glyph.se
on 24 Feb 2015 at 8:55
I don't think that we need to take action here.
Maybe a workaround for you is to disable UAC or set %HOME% explicitely.
Original comment by sstrickr...@googlemail.com
on 28 Feb 2015 at 8:58
The workaround in my case will be to set the EnableLinkedConnections registry
key which I recently found. See here:
https://technet.microsoft.com/en-us/library/ee844140%28v=ws.10%29.aspx (I
haven't tried it yet)
Disabling UAC is not an option since setting it on all our developer computers
in the company will have too high impact.
For the same reason setting %HOME% might impact other programs in an unexpected
way.
Original comment by fred...@glyph.se
on 28 Feb 2015 at 11:49
Original issue reported on code.google.com by
fred...@glyph.se
on 23 Feb 2015 at 11:57