Allow checking out PRs with deleted head branch #341

Merged
zeripath merged 3 commits from noerw/tea:refactor-checkout into master 2021-03-11 18:16:04 +00:00
Member

..by explicitly fetching refs/pulls/:idx/head from the base repo.

Sorry, I mixed this with a split-up of PullCheckout(). I can try to separate that, if preferred

..by explicitly fetching `refs/pulls/:idx/head` from the base repo. Sorry, I mixed this with a split-up of `PullCheckout()`. I can try to separate that, if preferred
noerw added the
kind
enhancement
kind
refactor
labels 2021-03-07 20:11:32 +00:00
noerw added 2 commits 2021-03-07 20:11:33 +00:00
refactor task.PullCheckout()
split up that big function, not sure if it helps with readability

change in behaviour: now also allows checking out a PR whose head branch
was deleted already.
9684c3225c
Merge branch 'master' into refactor-checkout
All checks were successful
continuous-integration/drone/pr Build is passing
86be9b493a
6543 added this to the v0.7.0 milestone 2021-03-07 23:31:41 +00:00
6543 added 1 commit 2021-03-08 11:51:02 +00:00
Merge branch 'master' into refactor-checkout
All checks were successful
continuous-integration/drone/pr Build is passing
323116192d
6543 approved these changes 2021-03-10 20:12:52 +00:00
Dismissed
zeripath approved these changes 2021-03-11 18:15:39 +00:00
Dismissed
zeripath merged commit 3abc5a5b42 into master 2021-03-11 18:16:03 +00:00
6543 deleted branch refactor-checkout 2021-03-11 18:16:36 +00:00
Sign in to join this conversation.
No description provided.