Re: git log --author=me
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Nov 2, 2015, 18:37 UTC
- Message-ID
- <CACsJy8D83-Mg8UHA-=CPJ3z37CQTn7USjEbfO8QcU1T+=tS0Bg@mail.gmail.com>
- In-Reply-To
- <563764B8.4010101@exec64.co.uk>
On Mon, Nov 2, 2015 at 2:27 PM, Harry Jeffery <harry@exec64.co.uk> wrote:
Show 8 quoted lines
> Hi, > > I've written a patch that allows `me` to be used as shorthand for > $(user.name) or $(user.email) in the `--author` and `--commiter` fields. > > The purpose being to make finding your own commits quicker and easier: > git log --author=me >
It would be even cooler if it accepts mail aliases, then you can define "me" to your address and also have shortcuts to a few of your best friends. Though as Andreas pointed out --author is not a good fit because it accepts regex, and you can't use --mine either, so more work..
-- Duy