Windows: Fix crash when user.name is not set in git config.
This commit is contained in:
parent
8c622ec100
commit
0f6aaf8012
5 changed files with 18 additions and 22 deletions
|
@ -20,3 +20,9 @@ Running Windows 7, x64. Also tried running as administrator and in a cmd.exe she
|
|||
### Please provide any additional information below.
|
||||
|
||||
The `git annex test` command does work, and all 84 tests passes.
|
||||
|
||||
> [[fixed|done]]; I was able to reproduce this bug, and it was crashing
|
||||
> trying to look up the geckos username. I don't understand why this worked
|
||||
> before; some change exposed this code path on Windows. In any case, I've
|
||||
> fixed the crash, and I will be updating the windows builds with this bug
|
||||
> fix. --[[Joey]]
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2014-10-31T16:57:05Z"
|
||||
content="""
|
||||
This code path should only be called when USERPROFILE or
|
||||
one of USERNAME/USER/LOGNAME is not set. Which should not usually be the case
|
||||
when using git-annex on windows.
|
||||
|
||||
However, since we know that won't work on Windows it might as well not even
|
||||
try.. So I've made it instead print an error that indicates which
|
||||
environment variables need to be set.
|
||||
|
||||
Can you please download the windows daily build from
|
||||
<http://git-annex.branchable.com/install/windows>, and see what this new,
|
||||
better error message says?
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue