diff options
author | Joey Hess <joey@kitenet.net> | 2011-06-22 16:01:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-22 16:01:32 -0400 |
commit | 2e5c8ca6bf016058f2aba4eaba5b89955e3e0e95 (patch) | |
tree | 99ad0a9d4a9de66310b1ba760a83531ade896db3 /Content.hs | |
parent | 06c58922bdb26da34a4070c84968407350f1e3c9 (diff) |
use git-annex branch for location log
Diffstat (limited to 'Content.hs')
-rw-r--r-- | Content.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Content.hs b/Content.hs index ccd51a553..fc8ebeb21 100644 --- a/Content.hs +++ b/Content.hs @@ -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 |