From: Björn Steinbrink Date: Tue, 27 May 2008 20:40:32 GMT Subject: Re: git log --grep missing entries? Message-ID: <20080527204032.GA26161@atjola.homenet> In-Reply-To: <20080527202842.GA32252@foursquare.net> On 2008.05.27 16:28:42 -0400, Chris Frey wrote: > Hi, > > I ran into this the other day when I was looking at jgit's log history. > I retested today with the latest master branch, and it does the same thing. > > So... what am I doing wrong? > > git clone git://repo.or.cz/egit/spearce.git bsd > git log |grep "^Author:" | sort | uniq > > # note the user: Thad Hughes > > # nothing appears for these commands > git log --grep="thadh@thad.corp.google.com" > git log --grep="google.com" > git log --grep="thadh" > > # this works > git log --author="thadh@thad.corp.google.com" > > # this works > git log | grep thadh@thad.corp.google.com --grep only works on the log message, not on the author or committer fields. As Thad's commit does not have a SoB line, --grep won't find it. Björn