diff options
author | Christian Heusel <christian@heusel.eu> | 2023-10-09 16:24:50 +0200 |
---|---|---|
committer | Christian Heusel <christian@heusel.eu> | 2023-12-03 22:02:13 +0100 |
commit | c2d73d73aec9c21ffdb0677a7e3ef96a42c1ba47 (patch) | |
tree | f07ffb693649c0e85c9a10898b09209ef2d431c1 /config | |
parent | f2cafa3cb0941be8235025434620adbf5849a432 (diff) | |
download | devtools-c2d73d73aec9c21ffdb0677a7e3ef96a42c1ba47.tar.xz |
fix(commitpkg): prefer core.editor over $EDITOR and $VISUAL
This is done to closer mimick the behaviour of git here, as it prefers
core.editor setting over the other editor options as per git-var(1):
> The order of preference is the $GIT_EDITOR environment variable, then
> core.editor configuration, then $VISUAL, then $EDITOR, and then the
> default chosen at compile time, which is usually vi.
Fixes #192
Signed-off-by: Christian Heusel <christian@heusel.eu>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions