git-packages: Improve editor presence checking in commitpkg and build/build.sh
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