Skip to content

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

@canadaduane

Description

@canadaduane

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions