Feature suggestion: git grep --blame
- From
David Christensen <david@endpoint.com>
- Date
- Jun 20, 2009, 15:29 UTC
- Message-ID
- <B13F8D3F-E69B-49BA-9B81-27DF19E33A43@endpoint.com>
Hey folks,
It's occurred to me on several occasions that a useful output option for `git grep` would be to prefix lines with the same commit/author/ date annotation that `git blame` shows when viewing an individual file. I didn't find anything myself with a quick google search so I was wondering if anyone a) has a recipe for this either with a trivial command alias (I couldn't come up with one myself), b) know if this has been done/attempted before, or c) have a reason why this is a really stupid idea? :-)
Regards,
David -- David Christensen End Point Corporation david@endpoint.com