Re: git log --grep missing entries?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <thadh@xxxxxxxxxxxxxxxxxxxx>
> 
> 	# nothing appears for these commands
> 	git log --grep="thadh@xxxxxxxxxxxxxxxxxxxx"
> 	git log --grep="google.com"
> 	git log --grep="thadh"
> 
> 	# this works
> 	git log --author="thadh@xxxxxxxxxxxxxxxxxxxx"
> 
> 	# this works
> 	git log | grep thadh@xxxxxxxxxxxxxxxxxxxx

--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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux