补丁格式错误

补丁格式错误
patch: **** malformed patch at line 225: diff --git

第 225 行是这样的:

diff --git a/files/etc/Compile_info.txt b/files/etc/Compile_info.txt

我在一个文件补丁中有很多补丁,我在其中添加了一些行,现在我在第 225 行总是遇到相同的错误,但我没有触及这一行。

diff --git a/files/etc/Compile_info.txt b/files/etc/Compile_info.txt
new file mode 100644
index 0000000000..39635e5046
--- /dev/null
+++ b/files/etc/Compile_info.txt
@@ -0,0 +1,6 @@
+OpenWrt master r19541-852126680e / 2022-04-30 18:04
+---
+main      2022-04-29 8521266 mediatek: mt7629: disable mtk thermal
+luci      2022-04-30 6b3bba3 luci-app-https-dns-proxy: remove redundan
+packages  2022-04-30 cf81132 rclone: Update to 1.58.1
+routing   2022-04-27 20621cf Merge pull request #856 from stintel/bird

你看到错误了吗?

相关内容