Re: git log -S or -G

2018-10-09 Thread Julia Lawall
On Tue, 9 Oct 2018, Ævar Arnfjörð Bjarmason wrote: > > On Tue, Oct 09 2018, Junio C Hamano wrote: > > > Jeff King writes: > > > >> I think that is the best we could do for "-S", though, which is > >> inherently about counting hits. > >> > >> For "-G", we are literally grepping the diff. It

Re: git log -S or -G

2018-10-09 Thread Julia Lawall
On Mon, 8 Oct 2018, Jacob Keller wrote: > On Mon, Oct 8, 2018 at 8:22 PM Jeff King wrote: > > > > On Tue, Oct 09, 2018 at 08:09:32AM +0900, Junio C Hamano wrote: > > > > > Julia Lawall writes: > > > > > > >> Doing the same for -S is much

Re: git log -S or -G

2018-10-06 Thread Julia Lawall
On Sun, 7 Oct 2018, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason writes: > > > On Sat, Oct 6, 2018 at 5:16 PM Julia Lawall wrote: > >> Git log -S or -G make it possible to find commits that have particular > >> words in the changed lines. Sometimes

git log -S or -G

2018-10-06 Thread Julia Lawall
Hello, Git log -S or -G make it possible to find commits that have particular words in the changed lines. Sometimes it would be helpful to search for words in the removed lines or in the added lines specifically. From the implementation, I had the impression that this would be easy to

Re: [Cocci] excluding a function from coccinelle transformation

2018-08-24 Thread Julia Lawall
On Fri, 24 Aug 2018, Jeff King wrote: > In Git's Coccinelle patches, we sometimes want to suppress a > transformation inside a particular function. For example, in finding > conversions of hashcmp() to oidcmp(), we should not convert the call in > oidcmp() itself, since that would cause

Re: [PoC] coccinelle: make Coccinelle-related make targets more fine-grained

2018-08-03 Thread Julia Lawall
By the way, you can see my performance numbers here: https://www.usenix.org/system/files/conference/atc18/atc18-lawall.pdf Page 8, figures 4 and 5. julia