From: Nazri Ramliy Date: Tue, 20 Aug 2013 03:55:17 GMT Subject: Re: Does Git now have any C struct version history tracking mechanism? Message-ID: In-Reply-To: <87y57y84a1.fsf@linux-k42r.v.cablecom.net> On Mon, Aug 19, 2013 at 4:37 PM, Thomas Rast wrote: > Hmm, IIUC that's actually not a bug or even a roughness; it's an > artifact of how the :pattern:file syntax is defined. It takes the first > _funcname line_ matching 'pattern', up to (but excluding) the next > funcname line. > ... > Or is there an issue that I'm missing? No you're correct. I should have used the following instead for the demo: $ git log -L /struct\ rev_cmdline_info/,/^}/:revision.h Moral: You'd hit your target better if you work on your aim. nazri