Skip to content

git-packages: Improve editor presence checking in commitpkg and build/build.sh

Campbell Jones requested to merge serebit/devtools:git-packages-vi into git-packages

Adds a check for the configured Git editor (gitconfig core.editor) in both commitpkg and build.sh, and add a GIT_EDITOR check in build.sh. Additionally, instead of blindly executing vi when all other options are exhausted, check for its presence in the PATH and fail with a descriptive error message if it's missing. Closes #106 (closed).

Edited by Campbell Jones

Merge request reports

Loading