pt-plugins / PT-Plugin-Plus

PT 助手 Plus,为 Microsoft Edge、Google Chrome、Firefox 浏览器插件(Web Extensions),主要用于辅助下载 PT 站的种子。
MIT License
6.68k stars 840 forks source link

把项目提交文件固定为lf #1981

Closed ted423 closed 4 days ago

ted423 commented 2 weeks ago

请确认你已经做过并了解如下步骤,在 [] 中填入 x 选中

讨论了一下发现,部分文件提交为了crlf,但不太好判断,直接github http下载是原始的换行符 本地看git 检出因为 core.autocrlf=true 都是crlf的

考虑

* text=auto
* eol=lf

对于win下git没有设 core.autocrlf=true 的可能会有些影响

ted423 commented 4 days ago

没认反对我就当同意了哈

ted423 commented 4 days ago

https://github.com/pt-plugins/PT-Plugin-Plus/commit/cae504c78fd7bd7c54ff63d4fdff5dee13f51f88