From 51c12a76ef54affaf9428232fde4f2c3e30e7488 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 19 Feb 2014 01:09:17 -0400 Subject: remove Read instance for Ref Removed instance, got it all to build using fromRef. (With a few things that really need to show something using a ref for debugging stubbed out.) Then added back Read instance, and made Logs.View use it for serialization. This changes the view log format. --- Upgrade/V2.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Upgrade/V2.hs') diff --git a/Upgrade/V2.hs b/Upgrade/V2.hs index 42419b8ab..0672de8b6 100644 --- a/Upgrade/V2.hs +++ b/Upgrade/V2.hs @@ -106,7 +106,10 @@ push = do showAction "pushing new git-annex branch to origin" showOutput inRepo $ Git.Command.run - [Param "push", Param "origin", Param $ show Annex.Branch.name] + [ Param "push" + , Param "origin" + , Param $ Git.fromRef Annex.Branch.name + ] _ -> do -- no origin exists, so just let the user -- know about the new branch -- cgit v1.2.3