From: Paul Mackerras <paulus@samba.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: gitk highlight feature
Date: Wed, 3 May 2006 10:17:01 +1000 [thread overview]
Message-ID: <17495.63101.163740.649150@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <7vejzcj8da.fsf@assigned-by-dhcp.cox.net>
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.
next prev parent reply other threads:[~2006-05-03 0:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-02 23:44 gitk highlight feature Paul Mackerras
2006-05-02 23:48 ` Junio C Hamano
2006-05-03 0:17 ` Paul Mackerras [this message]
2006-05-03 0:07 ` Linus Torvalds
2006-05-03 0:23 ` Linus Torvalds
2006-05-03 2:55 ` Paul Mackerras
2006-05-03 16:57 ` Linus Torvalds
2006-05-03 23:08 ` Paul Mackerras
2006-05-03 23:25 ` Linus Torvalds
2006-05-20 0:07 ` Paul Mackerras
2006-05-20 16:42 ` Linus Torvalds
2006-05-21 0:40 ` Paul Mackerras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17495.63101.163740.649150@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).