From: Jonathan Nieder Date: Sat, 31 Oct 2009 01:42:34 +0000 (-0500) Subject: add -i, send-email, svn, p4, etc: use "git var GIT_EDITOR" X-Git-Tag: v1.6.6-rc0~24^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b4479f074760a788dd4e353b8c86a7d735afc53e?ds=inline;hp=b4479f074760a788dd4e353b8c86a7d735afc53e add -i, send-email, svn, p4, etc: use "git var GIT_EDITOR" 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 Signed-off-by: Junio C Hamano ---