Re: git log --author=me

2015-11-03 Thread Michael J Gruber
mmiter` 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

Re: git log --author=me

2015-11-03 Thread Junio C Hamano
Michael J Gruber <g...@drmicha.warpmail.net> writes: > Alternatively: How about teaching git-completion to complete the > argument to --author? Expensive, I know, but faster than typing it out > or realising "Michael J" is not as unique as you think ;) Or

git log --author=me

2015-11-02 Thread Harry Jeffery
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 Is this a change that would be accepted if submitted

Re: git log --author=me

2015-11-02 Thread Junio C Hamano
Andreas Schwab <sch...@linux-m68k.org> writes: > Harry Jeffery <ha...@exec64.co.uk> writes: > >> The purpose being to make finding your own commits quicker and easier: >> git log --author=me > > Since --author does a regexp search, this would most likely

Re: git log --author=me

2015-11-02 Thread Duy Nguyen
mmits 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 re

Re: git log --author=me

2015-11-02 Thread Andreas Schwab
Harry Jeffery <ha...@exec64.co.uk> writes: > The purpose being to make finding your own commits quicker and easier: > git log --author=me Since --author does a regexp search, this would most likely break someone's searches. Better add a new option for that functionali

Re: git log --author=me

2015-11-02 Thread Matthieu Moy
Junio C Hamano <gits...@pobox.com> writes: > Andreas Schwab <sch...@linux-m68k.org> writes: > >> Harry Jeffery <ha...@exec64.co.uk> writes: >> >>> The purpose being to make finding your own commits quicker and easier: >>> git log