use gitRepo
This commit is contained in:
parent
a7642b3b6e
commit
549c779a38
7 changed files with 10 additions and 10 deletions
|
@ -24,7 +24,7 @@ thisThread = "TransferWatcher"
|
|||
- and updates the DaemonStatus's map of ongoing transfers. -}
|
||||
transferWatcherThread :: ThreadState -> DaemonStatusHandle -> TransferQueue -> NamedThread
|
||||
transferWatcherThread st dstatus transferqueue = thread $ do
|
||||
g <- runThreadState st $ fromRepo id
|
||||
g <- runThreadState st gitRepo
|
||||
let dir = gitAnnexTransferDir g
|
||||
createDirectoryIfMissing True dir
|
||||
let hook a = Just $ runHandler st dstatus transferqueue a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue