summaryrefslogtreecommitdiff
path: root/Git/Index.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Git/Index.hs')
-rw-r--r--Git/Index.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Git/Index.hs b/Git/Index.hs
index aaf54e032..d6fa4ee6c 100644
--- a/Git/Index.hs
+++ b/Git/Index.hs
@@ -12,7 +12,10 @@ import System.Posix.Env (setEnv, unsetEnv, getEnv)
{- Forces git to use the specified index file.
-
- Returns an action that will reset back to the default
- - index file. -}
+ - index file.
+ -
+ - Warning: Not thread safe.
+ -}
override :: FilePath -> IO (IO ())
override index = do
res <- getEnv var