Re: [PATCH] check-ignore: --non-matching without --verbose
"Carl Smedstad via GitGitGadget" <gitgitgadget@gmail.com> 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 ...
Show 5 quoted lines
>
> 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'
?