move LocationLog into Annex monad from IO
It will need to run in Annex so it can use Branch
This commit is contained in:
parent
78a325b093
commit
d3f0106f2e
9 changed files with 25 additions and 27 deletions
|
@ -81,7 +81,7 @@ logStatusFor :: UUID -> Key -> LogStatus -> Annex ()
|
|||
logStatusFor u key status = do
|
||||
g <- Annex.gitRepo
|
||||
unless (Git.repoIsLocalBare g) $ do
|
||||
logfile <- liftIO $ logChange g key u status
|
||||
logfile <- logChange g key u status
|
||||
rellogfile <- liftIO $ Git.workTreeFile g logfile
|
||||
AnnexQueue.add "add" [Param "--"] rellogfile
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue