问题
I know via gitattributes diff=... one can set files specified by a name pattern to use a textconv specified filter for git-diff et al., but is there any way to have git-diff use a specific diff filter for all files git determines to be text files, no matter their name, but without affecting non-text files?
来源:https://stackoverflow.com/questions/34432841/how-to-globally-apply-a-textconv-filter-to-all-text-files