From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: git-shortlog script Date: Sat, 04 Jun 2005 20:08:20 -0400 Message-ID: <42A24274.7040906@pobox.com> References: <42A22C20.10002@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Git Mailing List , Linux Kernel X-From: git-owner@vger.kernel.org Sun Jun 05 02:05:34 2005 Return-path: Received: from vger.kernel.org ([12.107.209.244]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Deidi-0000FI-Ar for gcvg-git@gmane.org; Sun, 05 Jun 2005 02:05:18 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261449AbVFEAId (ORCPT ); Sat, 4 Jun 2005 20:08:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261447AbVFEAId (ORCPT ); Sat, 4 Jun 2005 20:08:33 -0400 Received: from mail.dvmed.net ([216.237.124.58]:6083 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S261445AbVFEAI0 (ORCPT ); Sat, 4 Jun 2005 20:08:26 -0400 Received: from cpe-065-184-065-144.nc.res.rr.com ([65.184.65.144] helo=[10.10.10.88]) by mail.dvmed.net with esmtpsa (Exim 4.51 #1 (Red Hat Linux)) id 1Deigh-0002VW-UF; Sun, 05 Jun 2005 00:08:25 +0000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5 X-Accept-Language: en-us, en To: Linus Torvalds In-Reply-To: X-Spam-Score: 0.0 (/) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Linus Torvalds wrote: > > 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 > Btw, it shows how broken your merge script is: you don't fill in the > AUTHOR field properly for some reason: > > : > 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