diff --git a/lib/checkout_op.tcl b/lib/checkout_op.tcl index 0571115128..8c42ca8005 100644 --- a/lib/checkout_op.tcl +++ b/lib/checkout_op.tcl @@ -201,6 +201,7 @@ method _update_ref {} { # The current branch is actually newer. # set new $cur + set new_hash $cur } else { _error $this "Branch '$newbranch' already exists.\n\nIt cannot fast-forward to $new_expr.\nA merge is required." return 0