aboutsummaryrefslogtreecommitdiff
path: root/Git/Index.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-11-14 14:25:46 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-11-14 14:28:49 -0400
commitad1e45aaedee71fbae100d2d73ff56b6d09e1577 (patch)
tree26f816e04a90e10aef3e7467695f6a04d06894d0 /Git/Index.hs
parentdb5dd896f37700a9acc59dae76da45d60ec59821 (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 'Git/Index.hs')
-rw-r--r--Git/Index.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Git/Index.hs b/Git/Index.hs
index 85ea480b5..0898569b4 100644
--- a/Git/Index.hs
+++ b/Git/Index.hs
@@ -10,6 +10,7 @@ module Git.Index where
import Common
import Git
import Utility.Env
+import Utility.Env.Set
indexEnv :: String
indexEnv = "GIT_INDEX_FILE"