> 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' That is indeed equivalent. TIL about regular-expression addresses in sed, thanks!