diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-01-20 16:36:33 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-01-20 16:36:33 -0400 |
commit | 10c579282b4f0acc7f26d8084916f7d538a89bd8 (patch) | |
tree | bc9e4a526b3bef0cb54b784cbe0d42a555a329db /Annex/LockPool | |
parent | d115fb8d3418d494708390f8a74938d830c669b7 (diff) |
remove 163 lines of code without changing anything except imports
Diffstat (limited to 'Annex/LockPool')
-rw-r--r-- | Annex/LockPool/PosixOrPid.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Annex/LockPool/PosixOrPid.hs b/Annex/LockPool/PosixOrPid.hs index 58e597f0e..ecf96d51f 100644 --- a/Annex/LockPool/PosixOrPid.hs +++ b/Annex/LockPool/PosixOrPid.hs @@ -20,7 +20,9 @@ module Annex.LockPool.PosixOrPid ( checkSaneLock, ) where -import Common.Annex +import Common +import Types +import Annex.Locations import qualified Annex import qualified Utility.LockPool.Posix as Posix import qualified Utility.LockPool.PidLock as Pid @@ -58,7 +60,7 @@ checkSaneLock f h = H.checkSaneLock f h pidLockFile :: Annex (Maybe FilePath) pidLockFile = ifM (annexPidLock <$> Annex.getGitConfig) - ( Just <$> fromRepo gitAnnexPidLockFile + ( Just <$> Annex.fromRepo gitAnnexPidLockFile , pure Nothing ) |