You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
zeripath 248b96d8a3
Use git attributes to determine generated and vendored status for language stats and diffs (#16773)
Replaces #16262
Replaces #16250
Replaces #14833

This PR first implements a `git check-attr` pipe reader - using `git check-attr --stdin -z --cached` - taking account of the change in the output format in git 1.8.5 and creates a helper function to read a tree into a temporary index file for that pipe reader.

It then wires this in to the language stats helper and into the git diff generation.

Files which are marked generated will be folded by default.

Fixes #14786
Fixes #12653
3 years ago
..
code Fix and restyle menu on code line (#15913) 4 years ago
components Actually compute proper foreground color for labels (#16729) 3 years ago
features Update JS dependencies (#16708) 4 years ago
markup Keep attachments on tasklist update (#16750) 4 years ago
standalone
vendor Restore Accessibility for Dropdown (#16576) 4 years ago
easymde.js
index.js Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 3 years ago
jquery.js
publicpath.js Unregister non-matching serviceworkers (#15834) 4 years ago
serviceworker.js
svg.js Load issue/PR context popup data only when needed (#15955) 4 years ago
utils.js Unregister non-matching serviceworkers (#15834) 4 years ago
utils.test.js Unregister non-matching serviceworkers (#15834) 4 years ago