Re: [PATCH] allow user aliases for the --author parameter
- From
Jeff King <peff@peff.net>
- Date
- Aug 22, 2008, 21:19 UTC
- Message-ID
- <20080822211902.GA31884@coredump.intra.peff.net>
- In-Reply-To
- <7vzln492pc.fsf@gitster.siamese.dyndns.org>
On Fri, Aug 22, 2008 at 02:09:35PM -0700, Junio C Hamano wrote:
Show 5 quoted lines
> I often use "git who Jeff" alias to fill the recipient of my e-mails with > this alias: > > [alias] > who = "!sh -c 'git log -1 --pretty=\"format:%an <%ae>\" --author=\"$1\"' -"
Very clever, I like it. And it also solves the problem I sometimes _do_ have, which is pulling aliases into my mua from git.
-Peff