1
0
mirror of https://gitea.com/Sirherobrine23/tea.git synced 2024-07-04 16:00:11 -03:00
tea/modules/task
Norwin d474883e90 don't push before creating a pull (#334)
Not sure if this is the best way, but it's the simplest way to fix #333.
Everything else is overly complex due to a chicken-egg problem:
Knowing which remote / branch to push involves requires prompting the user,
which requires to have a upstream branch pushed to detect default values.

Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/334
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2021-03-05 18:27:09 +08:00
..
issue_create.go Add interactive mode for tea milestone create (#310) 2020-12-18 02:50:07 +08:00
labels_export.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
login_create.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
login_ssh.go [Refactor] unexport config.Config var & move login tasks to task module (#288) 2020-12-12 21:28:37 +08:00
milestone_create.go Add interactive mode for tea milestone create (#310) 2020-12-18 02:50:07 +08:00
pull_checkout.go tea pr checkout: dont create local branches (#314) 2021-03-02 21:50:11 +08:00
pull_clean.go tea pr checkout: dont create local branches (#314) 2021-03-02 21:50:11 +08:00
pull_create.go don't push before creating a pull (#334) 2021-03-05 18:27:09 +08:00
pull_review.go Add commands for reviews (#315) 2020-12-21 23:22:22 +08:00