git-branchless-submit
: when --pull
ing, compares against pull remote instead of push remote
#919
Labels
bug
Something isn't working
Description of the bug
In https://discord.com/channels/915309546984050709/915310626291740752/1098644284351197294, user
hank
points out thatgit-branchless-submit
behaves strangely when settingpushRemote
for an individual branch (rather than for the remote).To set up:
foo
tracking a branch on the pull remote. Ensure that no branchfoo
exists on the pull remote.foo
's push remote to the push remote for the repository (i.e.branch.foo.pushRemote
).git submit
.Expected behavior
The branch is not pushed since
--create
was not passed togit submit
.Actual behavior
The branch is pushed even though it doesn't exist on the push remote.
Version of
rustc
No response
Automated bug report
No response
Version of
git-branchless
No response
Version of
git
No response
The text was updated successfully, but these errors were encountered: