Re: gitk highlight feature

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

 



Junio C Hamano writes:

> Eh, the string entered by me is quoted by the program, or do I
> have to quote it myself?  I suspect it should not be so bad to
> code, even if you have to do it with tcl ;-).

It's split up into arguments at whitespace unless the whitespace is
quoted, just like the shell does.  I wrote tcl code to do the
splitting and quoting according to the shell rules.  So you can, for
example, put:

	--unpacked --since='2 days ago'

in there and it will pass two arguments to git-rev-list, the second
containing the embedded spaces (but without the single-quotes).

Paul.
-
: 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]