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

spr sync: status shows error state when it should show "in sync" #429

Open
canadaduane opened this issue Nov 1, 2024 · 1 comment
Open

Comments

@canadaduane
Copy link

Note: I'm new to spr, so I may not understand the complete picture below.

I have a single branch and associated PR on github. They are in sync. When I run git spr sync, instead of telling me they are in sync, I get an error message:

❯ git spr sync
> git rev-parse --show-toplevel
> github fetch pull requests
> git log --format=medium --no-color origin/main..HEAD
> git branch --no-color
> git cherry-pick ..49b79832177c05dba824f4bc7f7dcbdac7a2ce5d
git error: error: empty commit set passed
fatal: cherry-pick failed
error: exit status 128

First, I think it should show that they are in sync--is that a correct assumption?

Second, if that's correct, maybe I can look into fixing. Thanks.

@ggalmazor
Copy link

I'm getting the same error. In my case, it's both in the scenario where my local is in sync with the remote, and also when the remote has received new commits in a PR within the stack

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

2 participants