summaryrefslogtreecommitdiff
path: root/Upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'Upgrade')
-rw-r--r--Upgrade/V2.hs5
1 files changed, 4 insertions, 1 deletions
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