Unset GIT_EDITOR if it is zero length string