# v1.7.4-rc0~205^2~1 (git log/diff: add -G<regexp> that greps in the # patch text, 2010-08-23) clone 589283 -1 retitle -1 git log --grep-diff reassign -1 git block 589283 by -1 tags -1 + fixed-upstream quit
Hi Chris, C or L Smith wrote: > One thing I find myself wishing for is the ability to find a line > that has been modified by using gitk. It seems to me that if I have > the following in a diff > > - def foo(this) > + def foo(this, that=False) > > that I can't find the line by searching for foo. Junio finished the plumbing. :) git log -G<regexp> finds commits that add or remove a line matching <regexp>. It's handy. > would like to know how foo has changed and I would like to search > for "def foo" without knowing what else is on the line. Perhaps an > option "find commit 'with string'" could be added to "find commit > 'adding/removing'". This piece still needs writing. Thanks for a nice suggestion. Jonathan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org