`git grep` is too picky about option parsing

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

 



Version: 2.29.2


-e, -i, -l and -n are all valid options for grep as well as git grep, 
yet git-grep refuses to operate if they appear in a specific order.

Observed:

$ git grep -e abc -lin
error: did you mean `--lin` (with two dashes)?

Expected:

$ git grep -e abc -lin
somefile



[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