{"thread":{"id":"19876","subject":"Feature suggestion: git grep --blame","startedAt":"2009-06-20T15:29:28Z","lastAt":"2009-06-20T18:19:10Z","messageCount":2,"participants":["David Christensen","René Scharfe"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"116673","messageId":"B13F8D3F-E69B-49BA-9B81-27DF19E33A43@endpoint.com","threadId":"19876","inReplyTo":null,"subject":"Feature suggestion: git grep --blame","fromName":"David Christensen","fromEmail":"david@endpoint.com","sentAt":"2009-06-20T15:29:28Z","receivedAt":"2009-06-20T15:29:28Z","isPatch":false,"sender":{"key":"david@endpoint.com","avatar":"https://gravatar.com/avatar/6089b35cc409d9d15ab439753a213d7528cd5e0a04f3917fa452d8dc45296612?d=mp&s=160"},"body":"Hey folks,\n\nIt's occurred to me on several occasions that a useful output option  \nfor `git grep` would be to prefix lines with the same commit/author/ \ndate annotation that `git blame` shows when viewing an individual  \nfile.  I didn't find anything myself with a quick google search so I  \nwas wondering if anyone a) has a recipe for this either with a trivial  \ncommand alias (I couldn't come up with one myself), b) know if this  \nhas been done/attempted before, or c) have a reason why this is a  \nreally stupid idea? :-)\n\nRegards,\n\nDavid\n--\nDavid Christensen\nEnd Point Corporation\ndavid@endpoint.com\n"},{"id":"116677","messageId":"4A3D281E.4070500@lsrfire.ath.cx","threadId":"19876","inReplyTo":"B13F8D3F-E69B-49BA-9B81-27DF19E33A43@endpoint.com","subject":"Re: Feature suggestion: git grep --blame","fromName":"René Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2009-06-20T18:19:10Z","receivedAt":"2009-06-20T18:19:10Z","isPatch":false,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"David Christensen schrieb:\n> Hey folks,\n> \n> It's occurred to me on several occasions that a useful output option for\n> `git grep` would be to prefix lines with the same commit/author/date\n> annotation that `git blame` shows when viewing an individual file.  I\n> didn't find anything myself with a quick google search so I was\n> wondering if anyone a) has a recipe for this either with a trivial\n> command alias (I couldn't come up with one myself), b) know if this has\n> been done/attempted before, or c) have a reason why this is a really\n> stupid idea? :-)\n\nThis is a very good idea -- so good, in fact, that Pi Song sent patches\nto implement it a quarter ago.  There were a few issues which prevented\nthem from being merged unchanged.  Junio merged an initial cleanup patch\ninto pu instead (\"blame.c: start libifying the blame infrastructure\",\n97926c6c).  Work on the remaining parts seems to have stalled, though.\nPi Song?\n\nRené\n"}]}