How to globally apply a textconv filter to all text files?

Deadly 提交于 2019-12-10 22:33:03

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!