Re: EDITOR with tilde not expanded in git-commit

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

 



On Tuesday, August 28, 2007 at 17:25:00 (+0200) David Kastrup writes:
>...
>In any case, should be addressed with commit
>08874658b450600e72bb7cb0d0747c1ec4b0bfe1 from the first of August.

Interesting, this uses eval:

git_editor() {
        : "${GIT_EDITOR:=$(git config core.editor)}"
        : "${GIT_EDITOR:=${VISUAL:-${EDITOR}}}"
[...]
        eval "${GIT_EDITOR:=vi}" '"$@"'
}

I was told eval was "wrong on multiple levels".


Bill
-
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