fixed getting files from bare repos on windows
This commit is contained in:
parent
8f717643a6
commit
dcddacfd5c
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ inAnnexSafe key = inAnnex' (fromMaybe False) (Just False) go key
|
||||||
Nothing -> is_unlocked
|
Nothing -> is_unlocked
|
||||||
check def Nothing = return def
|
check def Nothing = return def
|
||||||
#else
|
#else
|
||||||
checkindirect f = ifM (liftIO $ doesFileExist f)
|
checkindirect f = liftIO $ ifM (doesFileExist f)
|
||||||
( do
|
( do
|
||||||
v <- lockShared f
|
v <- lockShared f
|
||||||
case v of
|
case v of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue