Is there a commonly-used filename extension for unified diff format?

▼魔方 西西 提交于 2019-12-10 02:04:31

问题


E.g. .difffile, .diff?


回答1:


actually most programmers use .patch and sometimes .diff




回答2:


I've seen both .diff and .patch, but the most common practice seems to be having no filename extension except for the compression (usually .gz or .bz2). At least that's how it's done for the linux kernel.



来源:https://stackoverflow.com/questions/1260753/is-there-a-commonly-used-filename-extension-for-unified-diff-format

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