Re: [PATCH] check-ignore: --non-matching without --verbose

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

 



"Carl Smedstad via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes:

> The motivation for this is to use the underutilized invocation of
> --non-matching without --verbose to create a shorthand for what could be
> achieved by:

Not commenting on the patch itself, but ...

>
>     find . |
>       git check-ignore --verbose --non-matching |
>       grep $'^::\t' |
>       sed -e 's/.*\t//'

... feeding grep output to sed caught my eyes.  Isn't that equivalent to

	git ... |
	sed -n '/^::\t/s/.*\t//p'

?



[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