Re: Does Git now have any C struct version history tracking mechanism?
On Mon, Aug 19, 2013 at 4:37 PM, Thomas Rast <trast@inf.ethz.ch> wrote:
Show 5 quoted lines
> 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