t3412: further simplify setting of GIT_EDITOR