diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-05-17 13:30:59 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-05-17 13:38:04 -0400 |
commit | ed91fe6a1c32fa52abfae46d35fcb50b9f8c63c8 (patch) | |
tree | 312113439d2d5065ecbf8a4cc09aca0f99477f80 /Annex/GitOverlay.hs | |
parent | e2b93987143faba2c1f507da436752ef826c5ff3 (diff) |
use indexEnv
Diffstat (limited to 'Annex/GitOverlay.hs')
-rw-r--r-- | Annex/GitOverlay.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Annex/GitOverlay.hs b/Annex/GitOverlay.hs index 8cc1e04d1..4796898b9 100644 --- a/Annex/GitOverlay.hs +++ b/Annex/GitOverlay.hs @@ -12,6 +12,7 @@ import qualified Control.Exception as E import Annex.Common import Git import Git.Types +import Git.Index import Git.Env import qualified Annex @@ -21,7 +22,7 @@ withIndexFile f a = do -- Workaround http://thread.gmane.org/gmane.comp.version-control.git/294880 absf <- liftIO $ absPath f withAltRepo - (\g -> addGitEnv g "GIT_INDEX_FILE" absf) + (\g -> addGitEnv g indexEnv absf) (\g g' -> g' { gitEnv = gitEnv g }) a |