tea/modules
Norwin 6663d9f19b Add preference `flag_defaults.remote`, refactor (#466)
This is a refactor of the code last touched in #458, making the control flow less backwards.

Additionally, this adds a preference `preferences.flag_defaults.remote` that allows to skip this heuristic and set a custom fixed default value for the `--remote` flag.
I'm not sure this is actually needed, I can revert that commit.

Co-authored-by: Norwin <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Reviewed-on: https://gitea.com/gitea/tea/pulls/466
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2022-03-29 07:34:14 +08:00
..
config Add preference `flag_defaults.remote`, refactor (#466) 2022-03-29 07:34:14 +08:00
context Add preference `flag_defaults.remote`, refactor (#466) 2022-03-29 07:34:14 +08:00
git Add `tea clone` (#411) 2021-10-18 20:09:27 +08:00
interact Interactive issue/pr posting: properly fetch assignees (#476) 2022-03-19 19:08:58 +08:00
print Return RFC3339 UTC timestamps for machine-readable output (#470) 2022-03-29 06:37:13 +08:00
task Add `tea clone` (#411) 2021-10-18 20:09:27 +08:00
utils Add `tea clone` (#411) 2021-10-18 20:09:27 +08:00
workaround Introduce workaround for missing pull head sha (#340) 2021-03-08 03:45:50 +08:00