use git-annex branch for location log
This commit is contained in:
parent
06c58922bd
commit
2e5c8ca6bf
2 changed files with 10 additions and 18 deletions
|
@ -81,9 +81,7 @@ logStatusFor :: UUID -> Key -> LogStatus -> Annex ()
|
|||
logStatusFor u key status = do
|
||||
g <- Annex.gitRepo
|
||||
unless (Git.repoIsLocalBare g) $ do
|
||||
logfile <- logChange g key u status
|
||||
rellogfile <- liftIO $ Git.workTreeFile g logfile
|
||||
AnnexQueue.add "add" [Param "--"] rellogfile
|
||||
logChange g key u status
|
||||
|
||||
{- Runs an action, passing it a temporary filename to download,
|
||||
- and if the action succeeds, moves the temp file into
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue