diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-11-14 14:25:46 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-11-14 14:28:49 -0400 |
commit | ad1e45aaedee71fbae100d2d73ff56b6d09e1577 (patch) | |
tree | 26f816e04a90e10aef3e7467695f6a04d06894d0 /Annex | |
parent | db5dd896f37700a9acc59dae76da45d60ec59821 (diff) |
split out setEnv to avoid adding dep
Windows needs the setenv package in custom-setup, but I don't want to
pull it in on unix, which would probably break some builds and need more
work. Instead, split out setEnv to a separate module.
Quite likely, unix-compat will get a portable environment layer, and
then both modules can be removed from here.
This commit was sponsored by Øyvind Andersen Holm.
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Environment.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Annex/Environment.hs b/Annex/Environment.hs index 4f0fda986..0ddf9d2b7 100644 --- a/Annex/Environment.hs +++ b/Annex/Environment.hs @@ -14,6 +14,7 @@ import Utility.UserInfo import qualified Git.Config import Config import Utility.Env +import Utility.Env.Set {- Checks that the system's environment allows git to function. - Git requires a GECOS username, or suitable git configuration, or |