Skip to content

Commit

Permalink
refactor: Make spin off branch reset async
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Jul 31, 2023
1 parent d16bb74 commit aa12245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neogit/popups/branch/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ local function spin_off_branch(checkout)
if checkout then
git.log.update_ref(current_branch_name, upstream)
else
git.cli.reset.hard.args(upstream).call_sync()
git.cli.reset.hard.args(upstream).call()
end
end

Expand Down

0 comments on commit aa12245

Please sign in to comment.