gitea-tea/modules
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
..
config replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
context Don't exit if we can't find a local repo with a remote matching to a login (#336) 2021-03-05 16:56:15 +08:00
git don't push before creating a pull (#334) 2021-03-05 18:27:09 +08:00
interact tea comment: handle piped stdin (#322) 2021-03-01 01:47:36 +08:00
print Improve tea time (#319) 2020-12-23 12:58:36 +08:00
task don't push before creating a pull (#334) 2021-03-05 18:27:09 +08:00
utils InitCommand() robustness (#327) 2021-03-01 06:29:26 +08:00