Use core.editor to determine editor

Using git's core.editor variable to determine the editor in the first instance is more git-ish IMHO