1
1
mirror of https://gitea.com/gitea/tea synced 2024-11-23 00:12:05 +01:00
tea/modules
plgruener 3129e60a73 text editor selection: follow unix defacto standards (#356)
Currently, `tea` only supports the $EDITOR env var to open the user's preferred editor (used for reviewing pull requests).

Standard \*nix practice is, however, to check for $VISUAL first and only then use $EDITOR as fallback.
This is also done by Git itself, see man git-var(1).
(Actually, the order there is $GIT_EDITOR > core.editor > $VISUAL > $EDITOR > vi)

Co-authored-by: plgruener <pl.gruener@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/356
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: plgruener <plgruener@noreply.gitea.io>
Co-committed-by: plgruener <plgruener@noreply.gitea.io>
2021-06-21 20:08:27 +08:00
..
config replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
context Check negative limit command parameter (#358) (#359) 2021-05-15 22:16:24 +08:00
git don't push before creating a pull (#334) 2021-03-05 18:27:09 +08:00
interact text editor selection: follow unix defacto standards (#356) 2021-06-21 20:08:27 +08:00
print Update Changelog (#346) 2021-03-12 20:44:41 +08:00
task text editor selection: follow unix defacto standards (#356) 2021-06-21 20:08:27 +08:00
utils Add more issue / pr creation params (#331) 2021-03-08 19:48:03 +08:00
workaround Introduce workaround for missing pull head sha (#340) 2021-03-08 03:45:50 +08:00