aboutsummaryrefslogtreecommitdiff
path: root/Logs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-09 21:02:38 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-09 21:02:38 -0400
commitaf27920956c9ef59052662389bff1ba40efd1ea0 (patch)
treeab518f4fab63076cb6f967ef2738e6431912e3d8 /Logs
parentac78243ac1d1a832ee81ccc354e4e4bdda4a29e7 (diff)
Fix activity log parsing.
I had some cargo culting in there that used the wrong type, so it failed to parse old logs, and overwrote them with the new log.
Diffstat (limited to 'Logs')
-rw-r--r--Logs/Activity.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Logs/Activity.hs b/Logs/Activity.hs
index 45262a633..9738fdb1c 100644
--- a/Logs/Activity.hs
+++ b/Logs/Activity.hs
@@ -26,7 +26,7 @@ recordActivity :: Activity -> UUID -> Annex ()
recordActivity act uuid = do
ts <- liftIO getPOSIXTime
Annex.Branch.change activityLog $
- showLog id . changeLog ts uuid (show act) . parseLog readish
+ showLog show . changeLog ts uuid act . parseLog readish
lastActivities :: Maybe Activity -> Annex (Log Activity)
lastActivities wantact = parseLog onlywanted <$> Annex.Branch.get activityLog