add -i, send-email, svn, p4, etc: use "git var GIT_EDITOR"
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 31 Oct 2009 01:42:34 +0000 (20:42 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Nov 2009 20:20:50 +0000 (12:20 -0800)
Use the new "git var GIT_EDITOR" feature to decide what editor to
use, instead of duplicating its logic elsewhere. This should make
the behavior of commands in edge cases (e.g., editor names with
spaces) a little more consistent.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found