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