Use haskell setenv library to clean up several ugly workarounds for inability to manipulate the environment on windows.

Didn't know that this library existed!

This includes making git-annex not re-exec itself on start on windows, and
making the test suite on Windows run tests without forking.
This commit is contained in:
Joey Hess 2014-10-15 20:33:52 -04:00
parent 65280d91e7
commit 1e59df083d
12 changed files with 40 additions and 79 deletions

View file

@ -19,10 +19,6 @@ usable!
* Deleting a git repository from inside the webapp fails "RemoveDirectory
permision denied ... file is being used by another process"
* There are a lot of hacks to avoid setting environment on windows,
because I didn't know about <https://hackage.haskell.org/package/setenv>.
Those hacks should be removed!
## potential encoding problems
[[bugs/Unicode_file_names_ignored_on_Windows]] is fixed, but some potential