From: Andreas Schwab <schwab@linux-m68k.org>
To: "Todd A. Jacobs" <nospam+listmail@codegnome.org>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: 'git --grep' doesn't grep notes?
Date: Mon, 27 Aug 2012 21:09:07 +0200 [thread overview]
Message-ID: <m2harob19o.fsf@igel.home> (raw)
In-Reply-To: <CAPRhCbvnRqUpKcw_E383ekG_M0O2a+cTTixUQtU-0mtj3V=7uw@mail.gmail.com> (Todd A. Jacobs's message of "Mon, 27 Aug 2012 14:18:29 -0400")
"Todd A. Jacobs" <nospam+listmail@codegnome.org> writes:
> What is the right way to include notes in log searches, especially if
> the end goal is to find the related commit ID?
You can git grep on refs/notes/commits and s,/,,g on the file name
found.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
prev parent reply other threads:[~2012-08-27 19:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-27 18:18 'git --grep' doesn't grep notes? Todd A. Jacobs
2012-08-27 19:09 ` Andreas Schwab [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=m2harob19o.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=git@vger.kernel.org \
--cc=nospam+listmail@codegnome.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).