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

Re: [git pull] core/softirq for v2.6.27

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jul 14, 2008, 17:11 UTC
Message-ID
<alpine.LFD.1.10.0807140948220.3305@woody.linux-foundation.org>
In-Reply-To
<20080714094422.e7ae255a.akpm@linux-foundation.org>
On Mon, 14 Jul 2008, Andrew Morton wrote:
> 
> This was a git-shortlog feature request ;)
Heh. You should cc git or Junio if so.

The way shortlog is done (very different from regular logs, due to the whole organize-by-name etc thing) that is sadly pretty ugly to do: we don't support the pretty-formats etc. And the way things are done, adding support for the generic "--pretty=xyz" (including custom formats) would be pretty painful.

So it would have to be a total special-case.

Junio, git people - what Andrew is asking for is for git shortlog to show the commit ID (in shortened form) at the end:

Show 5 quoted lines
> > It would be nice if these short-form summaries were to include the
> > commit IDs.  eg:
> > 
> > Carlos R. Mafra (1):
> >       Remove argument from open_softirq which is always NULL (962cf36)

and I do think it would be nice. I've had some other things I would find shortlog format additions useful for (size of patch etc), so if it could be somehow generalized that would be wonderful.

As it is, that is one ugly function that only takes the one-liner thing - at least partly because of how it traditionally worked (as a a filter over the log messages, rather than as a "git shortlog xyz..abc" kind of stand-alone thing).

		Linus
Next: Linus Torvalds
Message 1 of 5 in “Re: [git pull] core/softirq for v2.6.27”
  1. Linus TorvaldsJul 14, 2008
  2. Linus TorvaldsJul 14, 2008
  3. Johannes SchindelinJul 14, 2008
  4. shortlog: support --pretty=format: optionJohannes Schindelin, Jul 14, 2008
  5. Linus TorvaldsJul 14, 2008

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.