'git --grep' doesn't grep notes?

2012-08-27 Thread Todd A. Jacobs
I have a note attached to a commit, but the text of the note isn't treated as part of the commit for the purposes of grep. For example: mkdir /tmp/foo cd /tmp/foo git init git commit --allow-empty -m 'Blank commit.' git notes add -m 'Find me!' git log --show-notes --regexp-

Re: 'git --grep' doesn't grep notes?

2012-08-27 Thread Andreas Schwab
"Todd A. Jacobs" 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, sch...@linux-m68k.org GPG Key fingerprint = 5