Files
Gitea/modules
584d8ef75f Fix incorrect vendored detections (#36508)
Fixes: https://github.com/go-gitea/gitea/issues/22618

`go-enry`'s `IsVendor` function marks git paths (`.gitignore`,
`.gitattributes`, `.gitmodules`), github/gitea paths (`.github/`,
`.gitea/`) as "vendored" for GitHub Linguist language statistics. This
causes these files to incorrectly display the "Vendored" tag in diff
views.

Override `go-enry`'s detection for these specific cases while preserving
its behavior for actual vendor directories.

---------

Signed-off-by: silverwind <[email protected]>
Signed-off-by: wxiaoguang <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
2026-02-01 10:35:51 +00:00
..
2026-01-24 05:11:49 +00:00
2025-09-13 18:01:00 +00:00
2026-01-24 05:11:49 +00:00
2022-12-30 23:31:00 +08:00
2026-01-24 11:30:47 +00:00