Gerfried Fuchs [off-list ref] wrote:
When setting the EDITOR or VISUAL environment variable, one might want
to hand over arguments (like e.g. for not backgrounding a GUI editor but
waiting for it to finish. This patch enables that posibility, before it
did look for a program with the content of the variable, including the
space as filename part. The change is in sync with regular behavior with
various other tools, git itself included.
Signed-off-by: Gerfried Fuchs <redacted>
Hi Gerfried,
I wanted to do something like this a few weeks ago, but generically
enough to be used by other scripts (sh/perl/python/ruby/whatever...).
I haven't had time to follow up on it (and decide on a command-name),
but the thread starts here:
http://mid.gmane.org/20090201025349.GA22160@dcvr.yhbt.net
--
Eric Wong