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

Re: [ANNOUNCE] Git homepage change

From
Adeodato Simó <dato@net.com.org.es>
Date
Jan 6, 2009, 09:07 UTC
Message-ID
<20090106090719.GA25609@chistera.yi.org>
In-Reply-To
<d411cc4a0901051749p2ef880bub45bba1c0d41bfc7@mail.gmail.com>
* Scott Chacon [Mon, 05 Jan 2009 17:49:01 -0800]:
> Also, Miklos : your patch changes the format of the output and doesn't
> speed things up or anything, so I'm just sticking with the current
> script for now (unless I'm missing something).

-8<- git log --pretty=short --no-merges | git shortlog -n | grep -v -e '^ ' | grep ':' > ../gitscm/config/authors.txt

    data = author.split(' ')
    number = data.pop.gsub('(', '').gsub(')', '').chomp
    name = data.join(' ')
-8<-
vs

-8<- v2 -8<- git shortlog --no-merges -sn > ../gitscm/config/authors.txt

    if author =~ /(\d+)\s+(.+)/
        name, number = $2, $1
-8<-
HTH.

P.S.: And it is a tad faster, yes (not that that should be the primary criteria).

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
The true teacher defends his pupils against his own personal influence.
                -- Amos Bronson Alcott
Previous: Miklos VajnaNext: Felipe Oliveira Carvalho
Message 17 of 21 in “Re: git-scm.com transition”
  1. Petr BaudisDec 16, 2008
  2. [ANNOUNCE] Git homepage changePetr Baudis, Jan 5, 2009
  3. Miklos VajnaJan 5, 2009
  4. Miklos VajnaJan 5, 2009
  5. get_authors.sh, author.rb: use -s option of git shortlog.Adeodato Simó, Jan 5, 2009
  6. Miklos VajnaJan 5, 2009
  7. Mike HommeyJan 5, 2009
  8. David BrysonJan 5, 2009
  9. Scott ChaconJan 6, 2009
  10. BazJan 6, 2009
  11. BazJan 6, 2009
  12. Miklos VajnaJan 6, 2009
  13. Boyd Lynn GerberJan 6, 2009
  14. Miklos VajnaJan 6, 2009
  15. Boyd Lynn GerberJan 6, 2009
  16. Miklos VajnaJan 6, 2009
  17. Adeodato SimóJan 6, 2009
  18. Felipe Oliveira CarvalhoJan 5, 2009
  19. Scott ChaconJan 5, 2009
  20. Boyd Lynn GerberJan 5, 2009
  21. Ted PavlicJan 5, 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.