Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

chore(repo): 在 GitHub 上折叠构建产物与第三方文件的 diff

longmeidaoe94fed863d59
diff --git a/.gitattributes b/.gitattributes
index 92df0a48b..3ad6bb963 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -12,3 +12,8 @@ web/vendor/videojs/** -text
# 签出就被改字节,而校验失败的表现是「仓库里的图明明没动却报摘要不符」。
resources/marks/** -text
resources/browser-icons/** -text
+
+# 构建产物与第三方自托管文件标成生成文件:GitHub 的 PR 与提交页默认折叠它们的 diff,
+# 评审先看到源码。只影响 GitHub 展示,本地 `git diff` 照常显示,dist 与源码不一致时仍看得见。
+web/dist/** linguist-generated=true
+web/vendor/** linguist-generated=true