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

Re: git-shortlog script

From
JGJeff Garzik <jgarzik@pobox.com>
Date
Jun 5, 2005, 00:08 UTC
Message-ID
<42A24274.7040906@pobox.com>
In-Reply-To
<Pine.LNX.4.58.0506041642530.1876@ppc970.osdl.org>
Linus Torvalds wrote:
Show 9 quoted lines
> 
> On Sat, 4 Jun 2005, Jeff Garzik wrote:
> 
>>Attached is the 'git-shortlog' script I whipped up, to mimic the 
>>shortlog script that was used back in the BitKeeper days.
> 
> 
> Thanks, I'll add this to the git stuff, and next kernel release will have 
> a proper shortlog.
cool
Show 10 quoted lines
> Btw, it shows how broken your merge script is: you don't fill in the 
> AUTHOR field properly for some reason:
> 
>  <jgarzik@pretzel.yyz.us>:
>   Automatic merge of /spare/repo/netdev-2.6 branch r8169-fix
>   Automatic merge of /spare/repo/linux-2.6/.git branch HEAD
>   Automatic merge of /spare/repo/netdev-2.6 branch use-after-unmap
>   Automatic merge of rsync://rsync.kernel.org/.../torvalds/linux-2.6.git branch HEAD
> 
> but "committer" is right. Pls fix.
hehe, my merge script is Ctrl-R (recall last git-resolve-script invocation).

Committer is right because I set that in my .bash_profile. I'll do that for author too, to provide a sane default.

I'm surprised git doesn't fall back to GIT_COMMITTER_NAME if GIT_AUTHOR_NAME doesn't exist, though.

	Jeff
Previous: Linus TorvaldsNext: Linus Torvalds
Message 4 of 6 in “git-shortlog script”
  1. Jeff GarzikJun 4, 2005
  2. Linus TorvaldsJun 4, 2005
  3. Linus TorvaldsJun 4, 2005
  4. Jeff GarzikJun 5, 2005
  5. Linus TorvaldsJun 5, 2005
  6. Jeff GarzikJun 5, 2005

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.