gitea/services/gitdiff
wxiaoguang 8cc8150922
Use full-file highlighting for diff sections (#36561)
* Fix #35252
* Fix #35999
* Improve diff rendering, don't add unnecessary "added"/"removed" tags for a full-line change
* Also fix a "space trimming" bug in #36539 and add tests
* Use chroma "SQL" lexer instead of "MySQL" to workaround a bug (35999)
2026-02-10 03:29:28 +00:00
..
csv.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
csv_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
git_diff_tree.go Improve diff file headers (#36215) 2026-01-12 20:29:35 +08:00
git_diff_tree_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
gitdiff.go Use full-file highlighting for diff sections (#36561) 2026-02-10 03:29:28 +00:00
gitdiff_excerpt.go Use full-file highlighting for diff sections (#36561) 2026-02-10 03:29:28 +00:00
gitdiff_excerpt_test.go Use full-file highlighting for diff sections (#36561) 2026-02-10 03:29:28 +00:00
gitdiff_test.go Use full-file highlighting for diff sections (#36561) 2026-02-10 03:29:28 +00:00
highlightdiff.go Use full-file highlighting for diff sections (#36561) 2026-02-10 03:29:28 +00:00
highlightdiff_test.go Use full-file highlighting for diff sections (#36561) 2026-02-10 03:29:28 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
submodule.go Improve submodule relative path handling (#35056) 2025-07-14 23:28:34 +08:00
submodule_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00