git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Does Git now have any C struct version history tracking mechanism?

From
Nazri Ramliy <ayiehere@gmail.com>
Date
Aug 20, 2013, 03:55 UTC
Message-ID
<CAEY4ZpM6U38piim_uY5KgaZX=1KkYF4WaMxR9HeywAp4AO9igw@mail.gmail.com>
In-Reply-To
<87y57y84a1.fsf@linux-k42r.v.cablecom.net>
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
Previous: Thomas Rast
Message 4 of 4 in “Does Git now have any C struct version history tracking mechanism?”
  1. Zhan JianyuAug 18, 2013
  2. Nazri RamliyAug 19, 2013
  3. Thomas RastAug 19, 2013
  4. Nazri RamliyAug 20, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.