Re: git log --author=me
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 3, 2015, 21:30 UTC
- Message-ID
- <xmqq1tc6db3p.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <56388BEC.7050207@drmicha.warpmail.net>
Michael J Gruber <git@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"
with
me='Michael J Gruber <git@drmicha.warpmail.net>'
in your $HOME/.profile or somewhere?
I personally would find "--author=me" not so bad (especially if finding _my_ work were a very important workflow element), and I may even tell people to do
$ git log --author='[m]e'
if they want to find anybody with substring 'me' in their ident.
But that is only if it weren't for existing users, and we live in an imperfect world where we seem to have many of existing users already.