From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sverre Rabbelier" Subject: Re: [PATCH] Add pretty format %aN which gives the author name, respecting .mailmap Date: Sat, 12 Jul 2008 01:30:15 +0200 Message-ID: References: Reply-To: sverre@rabbelier.nl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gitster@pobox.com, "Git Mailinglist" , "David Symonds" To: "Johannes Schindelin" X-From: git-owner@vger.kernel.org Sat Jul 12 01:31:19 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KHS57-0008I1-Ao for gcvg-git-2@gmane.org; Sat, 12 Jul 2008 01:31:17 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754001AbYGKXaT (ORCPT ); Fri, 11 Jul 2008 19:30:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754061AbYGKXaT (ORCPT ); Fri, 11 Jul 2008 19:30:19 -0400 Received: from yw-out-2324.google.com ([74.125.46.30]:17741 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753620AbYGKXaS (ORCPT ); Fri, 11 Jul 2008 19:30:18 -0400 Received: by yw-out-2324.google.com with SMTP id 9so2001667ywe.1 for ; Fri, 11 Jul 2008 16:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=85d6GbkZfRnTdlKC8+9Kwd3cHIQZZw3kzBJDqZw0Y5E=; b=BuS/8hhTbu13SGqEvtaMdfG2gByGVaX/dch1Q5aF9t+IAsJmjvSXVEttrSEk+bf6/I ygcySUTr3+RZcQhZtnTMgry/OcGlM/x7ageOR2icYZwisArRNN/mZV08S3pkvGPPU3or y+Ipt06rPzWTb2RgWqo11FPouOl46hzhJZg9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=miva8Xclcq/DSTbJtTk9DDzIVD5aY/5RzeGvcxF9jq3N2BjE8R5wPAFONWaqECuxEr llbZ/Viqd/tkuCmqJ4RQuudA4nD3gG7OB5K13f3++lNBJj0tHX+u3oQEnRHozgoLD4TJ 4iEPt8Bcn2VLEAZhrnTs32U14lL0LBkYhwE6U= Received: by 10.150.50.1 with SMTP id x1mr1947479ybx.39.1215819015210; Fri, 11 Jul 2008 16:30:15 -0700 (PDT) Received: by 10.150.53.8 with HTTP; Fri, 11 Jul 2008 16:30:15 -0700 (PDT) In-Reply-To: Content-Disposition: inline Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Sat, Jul 12, 2008 at 1:28 AM, Johannes Schindelin wrote: > > The pretty format %an does not respect .mailmap, but gives the exact > author name recorded in the commit. Sometimes it is more desirable, > however, to look if the email has another name mapped to it in .mailmap. > > This commit adds %aN (and %cN for the committer name) to do exactly that. > > Signed-off-by: Johannes Schindelin > --- Whoah, that's fast ;). I'm not sure what to do though, if I use this new %cN GitStats will only work with the latest git version... :( -- Cheers, Sverre Rabbelier