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.