thread safe git-annex index file use
This commit is contained in:
parent
8de7699f39
commit
c9b3b8829d
9 changed files with 108 additions and 58 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue