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 | 737e45156eb705be69f076ede54f8c029b9ee315 (patch) | |
tree | 1ce07bbd848a34090aee0138f832ce14f51b673c /Annex/LockPool | |
parent | 8dd5d180f1f662a8afcb02a33f13e3e1c1c3b7c8 (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 58e597f0ec..ecf96d51fb 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 ) |