From: "Adeodato Simó" <dato@net.com.org.es>
To: Scott Chacon <schacon@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [ANNOUNCE] Git homepage change
Date: Tue, 6 Jan 2009 10:07:19 +0100 [thread overview]
Message-ID: <20090106090719.GA25609@chistera.yi.org> (raw)
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
next prev parent reply other threads:[~2009-01-06 9:08 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <d411cc4a0812151007n1be9ce95h92c8c11592ea5f9d@mail.gmail.com>
2008-12-16 11:41 ` git-scm.com transition Petr Baudis
[not found] ` <d411cc4a0901011040h4ab97aag20de54a6e138a4ec@mail.gmail.com>
2009-01-05 16:40 ` [ANNOUNCE] Git homepage change Petr Baudis
2009-01-05 18:57 ` Miklos Vajna
2009-01-05 19:03 ` Miklos Vajna
2009-01-05 22:52 ` [PATCH] get_authors.sh, author.rb: use -s option of git shortlog Adeodato Simó
2009-01-05 23:54 ` Miklos Vajna
2009-01-05 19:40 ` [ANNOUNCE] Git homepage change Mike Hommey
2009-01-05 21:27 ` David Bryson
2009-01-06 1:49 ` Scott Chacon
2009-01-06 2:17 ` Baz
2009-01-06 2:25 ` Baz
2009-01-06 2:43 ` Miklos Vajna
2009-01-06 4:24 ` Boyd Lynn Gerber
2009-01-06 8:54 ` Miklos Vajna
2009-01-06 16:12 ` Boyd Lynn Gerber
2009-01-06 20:40 ` Miklos Vajna
2009-01-06 9:07 ` Adeodato Simó [this message]
2009-01-05 20:16 ` Felipe Oliveira Carvalho
2009-01-05 20:33 ` Scott Chacon
2009-01-05 20:51 ` Boyd Lynn Gerber
2009-01-05 20:27 ` Ted Pavlic
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=20090106090719.GA25609@chistera.yi.org \
--to=dato@net.com.org.es \
--cc=git@vger.kernel.org \
--cc=schacon@gmail.com \
/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).