From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: Chris Frey <cdfrey@foursquare.net>
Cc: git@vger.kernel.org
Subject: Re: git log --grep missing entries?
Date: Tue, 27 May 2008 22:40:32 +0200 [thread overview]
Message-ID: <20080527204032.GA26161@atjola.homenet> (raw)
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 <thadh@thad.corp.google.com>
>
> # 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
prev parent reply other threads:[~2008-05-27 20:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 20:28 git log --grep missing entries? Chris Frey
2008-05-27 20:36 ` Lea Wiemann
2008-05-27 20:48 ` Chris Frey
2008-05-27 20:40 ` Björn Steinbrink [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080527204032.GA26161@atjola.homenet \
--to=b.steinbrink@gmx.de \
--cc=cdfrey@foursquare.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).