git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Paul Mackerras <paulus@samba.org>
Cc: git@vger.kernel.org
Subject: Re: gitk highlight feature
Date: Tue, 2 May 2006 17:07:23 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0605021659430.4086@g5.osdl.org> (raw)
In-Reply-To: <17495.61142.677439.171773@cargo.ozlabs.ibm.com>



On Wed, 3 May 2006, Paul Mackerras wrote:
>
> I just pushed out some changes to gitk which allow you to use one view
> to highlight another (see the "Highlight" submenu under the "View"
> menu), and which allow you to specify arbitrary git-rev-list arguments
> for a view.  The arguments string uses shell quoting conventions.

Ok. It looks interesting. I don't have a particular issue to try it with, 
but the bold-face certainly stands out enough that it was easy to ask for 
a high-light of any commits that changed the kernel/ subdirectory, and it 
was visually very obvious.

The interface does feel a bit awkward, though. Separating out "view" and 
"highlight" into two separate things seems wrong. Wouldn't it be better to 
just have multiple views in the "view" menu, and just a way to mark one or 
more of them as "highliht views". 

Ie not a separate menu, but having the current "view" radio buttons be 
more flexible. 

> I had been thinking of having fields in the view editor dialog where
> you could put in refs that you did and didn't want included, date
> specifiers, etc., all in separate fields with suitable labels.  Now
> I'm thinking that it's probably just as convenient to put
> "ORIG_HEAD.." into the git-rev-list arguments field as it is to put
> "ORIG_HEAD" in the "Don't include commits reachable from this" field.

Yeah. I think it's easier with a single thing, just let people stick it 
there.

> There may be an argument for having fields for "Exclude commits before
> this date" and "Exclude commits after this date", because those things
> often have spaces in them (e.g. "2 weeks ago") which would have to be
> quoted in the git-rev-list arguments field.

I alwaus use "2.weeks.ago" instead, but I guess you could do a calendar 
widget or something.

		Linus

  parent reply	other threads:[~2006-05-03  0:07 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
2006-05-03  0:07 ` Linus Torvalds [this message]
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=Pine.LNX.4.64.0605021659430.4086@g5.osdl.org \
    --to=torvalds@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=paulus@samba.org \
    /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).