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

RE: getting a list of changes I commited

From
Luck, Tony <tony.luck@intel.com>
Date
Sep 15, 2005, 20:23 UTC
Message-ID
<B8E391BBE9FE384DAA4C5C003888BE6F04662802@scsmsx401.amr.corp.intel.com>
Show 5 quoted lines
>No. "oldhead" has to be the point where you did the last email thing.
>
>So any time you merge from me, next time your email cron-job (or whatever)  
>hits, ^linus _will_ make a difference. Without it, you'd email out all the 
>stuff that came through my tree.

I'm planning on doing this as part of my "push" script. So the oldhead is what is already up on kernel.org (which is when I will have done the previous e-mail). My "newhead" will be full of stuff I got from your tree ... but most of the things I pull from you were commited by someone else, so the "grep -z" will drop them on the floor. So there are just a few that have my commit line on them ... but these *must* have come from my tree (unless someone else is putting my name on commits!). That leaves me with just my new commits for the e-mail.

>	git-rev-list --header newhead ^oldhead |
>		grep -z "committer .*tony\.luck" |
>		tr '\0' '\n' |
>		git-shortlog

I figured out the "tr" part myself. That's when I saw that git-shortlog expected to find "^Author:" and was getting "^author".

-Tony
Message 1 of 1 in “RE: getting a list of changes I commited”
  1. Luck, TonySep 15, 2005

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.