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

Re: Bug: git log -L manpage claims regexes are supported, but they are not

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Dec 4, 2020, 02:54 UTC
Message-ID
<CAPig+cT-Tf2ray+j9b45vz-qoiSZ4MkTyGVDr6PRJCXsvbx0=Q@mail.gmail.com>
In-Reply-To
<147444de-7653-d067-596a-9448ae6b8cac@heath.cc>
On Thu, Dec 3, 2020 at 9:50 PM Daniel <daniel@heath.cc> wrote:
Show 6 quoted lines
>    $ git log -L ^/bootstrap-sass/,+2 Gemfile
> fatal: -L argument not 'start,end:file' or ':funcname:file':
> ^/bootstrap-sass/,+2
>
> $ git help log
>         -L <start>,<end>:<file>, -L :<funcname>:<file>
You're missing the colon between <end> and <file> in your example. It should be:
    $ git log -L ^/bootstrap-sass/,+2:Gemfile
Previous: DanielNext: Daniel Heath
Message 2 of 3 in “Bug: git log -L manpage claims regexes are supported, but they are not”
  1. DanielDec 4, 2020
  2. Eric SunshineDec 4, 2020
  3. Daniel HeathDec 4, 2020

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.