diff options
author | Joey Hess <joey@kitenet.net> | 2012-08-24 20:50:39 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-08-24 20:50:39 -0400 |
commit | c9b3b8829dc3f106583fb933808179ec02773790 (patch) | |
tree | d2b27b5d8ee40c74be33c83807761c5eb5cea584 /Git/Index.hs | |
parent | 8de7699f3905f5a3feb88cd6297f982f3666a201 (diff) |
thread safe git-annex index file use
Diffstat (limited to 'Git/Index.hs')
-rw-r--r-- | Git/Index.hs | 5 |
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 |