On Wed, Mar 18, 2020 at 8:29 PM Daniel Shahaf <d...@daniel.shahaf.name> wrote:
> Nathan Hartman wrote on Wed, 18 Mar 2020 23:59 +00:00:
> > <p>For example, suppose that <tt>$SVN_EDITOR</tt> is set as follows:</p>
> >
> > <pre>SVN_EDITOR='vim -N'
> >     export SVN_EDITOR
> > </pre>
>
> Should this read «SVN_EDITOR='vim -N --'»?

Probably. Else, a filename that starts with '-' would cause problems with vim.

But:

> (Or we could change the C code
> to add the "--" between the editor command and the filename, but that might
> break somebody's proverbial spacebar heating.)

I don't think we should do that because an editor that doesn't support
a "--" option could have problems. I don't see it in nano's manpage on
my debian box for example.

Cheers,
Nathan

Reply via email to