forgejo/modules/git/tests/repos/language_stats_repo
Gusted 31cd8c6d38 fix: use linguist-generated for language stats (#7685)
- Adds code comment to explain behavior of the `linguist-generated` gitattribute.
- Adjusts the code to ignore the file if `linguist-generated` is true.
- Resolves forgejo/forgejo#7677
- Adds unit testing.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7685
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-04-27 23:29:21 +00:00
..
info Ignore Sync errors on pipes when doing CheckAttributeReader.CheckPath, fix the hang of git cat-file (#17096) 2021-09-20 20:46:51 +01:00
objects/pack fix: use linguist-generated for language stats (#7685) 2025-04-27 23:29:21 +00:00
refs fix: use linguist-generated for language stats (#7685) 2025-04-27 23:29:21 +00:00
COMMIT_EDITMSG Ignore Sync errors on pipes when doing CheckAttributeReader.CheckPath, fix the hang of git cat-file (#17096) 2021-09-20 20:46:51 +01:00
config [PERFORMANCE] git check-attr on bare repo if supported 2024-03-28 10:52:51 +01:00
description Ignore Sync errors on pipes when doing CheckAttributeReader.CheckPath, fix the hang of git cat-file (#17096) 2021-09-20 20:46:51 +01:00
HEAD Ignore Sync errors on pipes when doing CheckAttributeReader.CheckPath, fix the hang of git cat-file (#17096) 2021-09-20 20:46:51 +01:00
packed-refs fix: use linguist-generated for language stats (#7685) 2025-04-27 23:29:21 +00:00