Re: EDITOR with tilde not expanded in git-commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Kastrup <dak@xxxxxxx> writes:

>> Is that how other programs mentioned in the thread handle $EDITOR?
>
> If you are lucky.  There is also the possibility that they just split
> on spaces without a way of quoting (see above), and in that case path
> names with spaces in them become completely impossible.
>
> I am not going to test all those applications _again_: the current
> code allows specifying commands with spaces in their names (by
> quoting) as well as commands with arguments, and both in an obvious
> manner.  This is strictly better than being only able to do one or the
> other.
>
> I don't think you should revert the patch based on quite unspecific
> whining of someone who chose not to read the original discussion, but
> of course it is your call to make.

Oh, I think you misunderstood me.  I was saying

>
> 	GIT_EDITOR="'/home/my programs/emacs' -nw"
>

is a _good_ compromise.

It just was that it would make it even _better_ compromise if we
can demonstrate that the above setting would work equally well
with other programs.


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux