git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git log --author=me

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 2, 2015, 18:05 UTC
Message-ID
<xmqqy4ege0p5.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<8737wos32p.fsf@igel.home>
Andreas Schwab <schwab@linux-m68k.org> writes:
Show 7 quoted lines
> Harry Jeffery <harry@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 functionality.

I do not think it would hurt too much to add "--mine" to look for "--author" that matches you, but on the other hand, I am not sure its value outweighs the additional noise in the manual page.

It certainly does not help "I have done this much to this project in the time period, and you can look at the output of this command yourself to verify my claim. Type 'git shortlog --mine' and then promote me this season, please!" use case ;-)

So...
Previous: Andreas SchwabNext: Matthieu Moy
Message 3 of 7 in “git log --author=me”
  1. Harry JefferyNov 2, 2015
  2. Andreas SchwabNov 2, 2015
  3. Junio C HamanoNov 2, 2015
  4. Matthieu MoyNov 2, 2015
  5. Duy NguyenNov 2, 2015
  6. Michael J GruberNov 3, 2015
  7. Junio C HamanoNov 3, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.