Re: [PATCH] git-svn: Allow using arguments to the editor.
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Feb 19, 2009, 08:10 UTC
- Message-ID
- <20090219081055.GB21499@dcvr.yhbt.net>
- In-Reply-To
- <1234964869-11159-1-git-send-email-rhonda@deb.at>
Gerfried Fuchs <rhonda@deb.at> wrote:
Show 8 quoted lines
> 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 <rhonda@deb.at>
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