git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] bash: gitk accepts common log-shortlog options

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Jul 22, 2009, 14:05 UTC
Message-ID
<20090722140505.GQ3581@saturnine>
In-Reply-To
<200907220036.42917.trast@student.ethz.ch>
On Wed, Jul 22, 2009 at 12:36:36AM +0200, Thomas Rast wrote:
Show 15 quoted lines
> SZEDER Gábor wrote:
> > Commit a393777e (bash completion: refactor common log, shortlog and gitk
> > options, 2009-02-16) introduced a list of command line options that go
> > well with 'git log' and 'git shortlog' but not with gitk.  However,
> > these options are all 'git rev-list' options, and, therefore, are
> > accepted by gitk, too.
> [...]
> > +	--author= --committer= --grep=
> > +	--all-match
> 
> At the time, I tried to skip options to gitk that disconnect history
> in places where it really is connected.  This applies to --author,
> --committer and --grep, which also have a GUI equivalent.  However,
> --all-match doesn't, and then the other three are also needed, so I
> guess this makes sense.

I see. I was not sure what you meant by "go well", but suspected this. However, the '--no-merges' option was already there earlier, and it also produces disconnected history. I'm not sure how often these options are used with gitk, but it just happened yesterday that I wanted to use 'gitk --author=<me> ...' to find one of my commits.

Best, Gábor

Previous: Thomas Rast
Message 3 of 3 in “bash: gitk accepts common log-shortlog options”
  1. bash: gitk accepts common log-shortlog optionsSZEDER Gábor, Jul 21, 2009
  2. Thomas RastJul 21, 2009
  3. SZEDER GáborJul 22, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.