summaryrefslogtreecommitdiff
path: root/Command/VPop.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/VPop.hs')
-rw-r--r--Command/VPop.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/VPop.hs b/Command/VPop.hs
index 03905b751..52c2b7f0c 100644
--- a/Command/VPop.hs
+++ b/Command/VPop.hs
@@ -32,7 +32,7 @@ start = go =<< currentView
<$> recentViews
case vs of
(_v:oldv:_) -> next $ next $
- checkoutViewBranch oldv (branchView oldv)
+ checkoutViewBranch oldv (return . branchView)
_ -> next $ next $
inRepo $ Git.Command.runBool
[ Param "checkout"