RawFilePath optimisation
This commit is contained in:
parent
e5c418b99c
commit
f80ec74128
1 changed files with 1 additions and 1 deletions
|
@ -641,7 +641,7 @@ removeAnnex (ContentRemovalLock key) = withObjectLoc key $ \file ->
|
||||||
where
|
where
|
||||||
-- Check associated pointer file for modifications, and reset if
|
-- Check associated pointer file for modifications, and reset if
|
||||||
-- it's unmodified.
|
-- it's unmodified.
|
||||||
resetpointer file = unlessM (liftIO $ isSymbolicLink <$> getSymbolicLinkStatus (fromRawFilePath file)) $
|
resetpointer file = unlessM (liftIO $ isSymbolicLink <$> R.getSymbolicLinkStatus file) $
|
||||||
ifM (isUnmodified key file)
|
ifM (isUnmodified key file)
|
||||||
( adjustedBranchRefresh (AssociatedFile (Just file)) $
|
( adjustedBranchRefresh (AssociatedFile (Just file)) $
|
||||||
depopulatePointerFile key file
|
depopulatePointerFile key file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue