Web lists-archives.com

Multi-line 'git log -G<regex>'?




Hello git community,

In the context of [1], I would like to find all Linux commits which
replaced:
	'devm_request_threaded_irq(* IRQF_SHARED *)'
by:
	'devm_request_threaded_irq(* IRQF_ONESHOT *)'

Actually, I would be happy with a much lower degree of precision, e.g.
finding commits which _removed_ IRQF_SHARED and _added_ IRQF_ONESHOT.

I am aware of the difference between `git log -G` and `git log -S`, but
these two options alone don't seem to help me in this particular
scenario. Is there any git built-in way to achieve my goal?

[1] https://patchwork.kernel.org/patch/10914083/
    ("[v4,1/2] thermal: rcar_gen3_thermal: fix interrupt type")

-- 
Best regards,
Eugeniu.