Skydio / revup

Effortlessly create and manage pull requests without changing branches. Powers a stacked diffs workflow with python and git "plumbing" commands.
https://github.com/Skydio/revup
MIT License
310 stars 59 forks source link

Avoid main branch not found error. #101

Closed jerry-skydio closed 1 year ago

jerry-skydio commented 1 year ago

The intent of this was to check whether an origin branch by this name exists, but it was checking local branches.

This fixes some errors for repos that don't have a local branch called "main" or "master".

Topic: erbr Reviewers: brian-k

jerry-skydio commented 1 year ago

Reviews in this chain: └https://github.com/Skydio/revup/pull/101 Avoid main branch not found error.

jerry-skydio commented 1 year ago
# head base diff date summary
0 16993627 fa4e5a9a diff Apr 4 2:10 AM 1 file changed, 1 insertion(+), 1 deletion(-)
1 a072d760 fa4e5a9a diff Apr 4 3:02 AM 0 files changed
2 16993627 fa4e5a9a diff Apr 4 7:31 AM 0 files changed
3 c808e2a9 1a86af93 diff Apr 4 19:01 PM 0 files changed
4 3644cd9f 1a86af93 diff Apr 4 19:02 PM 0 files changed