From 41eecb4601896f7ece2151ff79775dd591e91b37 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 7 Nov 2011 12:47:41 -0400 Subject: Bugfix: In the past two releases, git-annex init has written the uuid.log in the wrong format, with the UUID and description flipped. This is my own damn fault for not making UUID a real type, and then relying on the type checker to ensure my refactoring was correct -- which it wasn't! I should probably add code to clean up bogus entries in the uuid.log, but right now I want to get the fix out there to prevent people experiencing this bug. I should also make UUID a real data type. --- Command/Init.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Command') diff --git a/Command/Init.hs b/Command/Init.hs index 69cdc8e8a..e2a6eb7b0 100644 --- a/Command/Init.hs +++ b/Command/Init.hs @@ -30,5 +30,6 @@ start ws = do perform :: String -> CommandPerform perform description = do initialize - getUUID >>= describeUUID description + u <- getUUID + describeUUID u description next $ return True -- cgit v1.2.3