gitea/services/gitdiff
Giteabot f164e38e04
Fix incorrect viewed files counter if file has changed (#36009) (#36047)
Backport #36009 by @bytedream

File changes since last review didn't decrease the viewed files counter

---
<img width="440" height="178" alt="image"
src="https://github.com/user-attachments/assets/da34fcf4-452f-4f71-8da2-97edbfc31fdd"
/>

Also reported here ->
https://github.com/go-gitea/gitea/issues/35803#issuecomment-3567850285

Co-authored-by: bytedream <me@bytedream.dev>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-11-28 11:33:37 +01:00
..
csv_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
csv.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
git_diff_tree_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
git_diff_tree.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 -07:00
gitdiff_test.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 -07:00
gitdiff.go Fix incorrect viewed files counter if file has changed (#36009) (#36047) 2025-11-28 11:33:37 +01:00
highlightdiff_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
highlightdiff.go enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
main_test.go
submodule_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
submodule.go Improve submodule relative path handling (#35056) 2025-07-14 23:28:34 +08:00