1
1
mirror of https://gitea.com/gitea/tea synced 2024-11-22 16:02:01 +01:00
tea/modules
Norwin 329200b1ef Fix running in repos without remote (#472)
For tea, the case of no remotes in the local repo context is equal to `errNotAGiteaRepo`.
This error type is already gracefully handled, so with this change, tea doesn't reject working from a repo without remotes.

fixes #455, closes #465

Co-authored-by: Norwin <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/472
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2022-03-29 08:01:37 +08:00
..
config Add preference flag_defaults.remote, refactor (#466) 2022-03-29 07:34:14 +08:00
context Fix running in repos without remote (#472) 2022-03-29 08:01:37 +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