summaryrefslogtreecommitdiff
path: root/Command/VPop.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/VPop.hs')
-rw-r--r--Command/VPop.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/VPop.hs b/Command/VPop.hs
index c95701580..baa52a98f 100644
--- a/Command/VPop.hs
+++ b/Command/VPop.hs
@@ -9,6 +9,7 @@ module Command.VPop where
import Common.Annex
import Command
+import qualified Git
import qualified Git.Command
import qualified Git.Ref
import Types.View
@@ -41,7 +42,7 @@ start ps = go =<< currentView
showOutput
inRepo $ Git.Command.runBool
[ Param "checkout"
- , Param $ show $ Git.Ref.base $
+ , Param $ Git.fromRef $ Git.Ref.base $
viewParentBranch v
]
sameparentbranch a b = viewParentBranch a == viewParentBranch b