Skip to content

Commit 546de8e

Browse files
committed
prevent asking for an upstream if it's set
1 parent a6fc7be commit 546de8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neogit/popups/rebase/actions.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function M.onto_pushRemote(popup)
3131
end
3232

3333
function M.onto_upstream(popup)
34-
local upstream = git.branch.upstream(git.branch.current())
34+
local upstream = git.branch.upstream()
3535
if not upstream then
3636
upstream = FuzzyFinderBuffer.new(git.refs.list_branches()):open_async()
3737
end

0 commit comments

Comments
 (0)