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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 3, 2020 at 9:50 PM Daniel <daniel@xxxxxxxx> wrote:
>    $ 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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux