Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect base branch name #417

Closed
piefel opened this issue Jul 24, 2024 · 1 comment
Closed

Incorrect base branch name #417

piefel opened this issue Jul 24, 2024 · 1 comment

Comments

@piefel
Copy link

piefel commented Jul 24, 2024

Consider the following log:

❯ git spr update
> git rev-parse --show-toplevel
> git fetch
> git rebase origin/release/parcel-8.4_express-1-4 --autostash
> github fetch pull requests
> git log --format=medium --no-color origin/release/parcel-8.4_express-1-4..HEAD
> git branch --no-color
> git log --format=medium --no-color origin/release/parcel-8.4_express-1-4..HEAD
> git status --porcelain --untracked-files=no
> git push --force --atomic origin/release c9d9a711548d779f624f08c06c90b28a4ad714c6:refs/heads/spr/parcel-8.4_express-1-4/7f429463
git error: fatal: 'origin/release' does not appear to be a git repository
fatal: Could not read from remote repository.

I cannot imagine what went wrong. I’m on a branch, but I’ve been on branches before. It seems spr parses the branch name somehow incorrectly, abbreviating origin/release/parcel-8.4_express-1-4 to origin/release only.

@piefel
Copy link
Author

piefel commented Jul 24, 2024

I see, changed the branch name not to contain a slash, and it works. This seems to be a duplicate of #415 then.

@piefel piefel closed this as completed Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant