gitea/services/gitdiff
hiifong b7614e2d2f
Fix parentCommit invalid memory address or nil pointer dereference. (#33204)
When the parent Commit does not exist on gitea, an error will be
reported when opening the Commit details page: invalid memory address or
nil pointer dereference.

![image](https://github.com/user-attachments/assets/4c2a9802-935f-41e9-b5b9-a4f0d745f709)

![image](https://github.com/user-attachments/assets/7b0bc15e-7f5f-4d58-8d24-fee667a799fa)
2025-01-19 02:51:43 +00:00
..
testdata/academic-module
csv.go
csv_test.go Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
gitdiff.go Fix parentCommit invalid memory address or nil pointer dereference. (#33204) 2025-01-19 02:51:43 +00:00
gitdiff_test.go Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
highlightdiff.go
highlightdiff_test.go
main_test.go
submodule.go add submodule diff links (#33097) 2025-01-08 01:38:30 +00:00
submodule_test.go add submodule diff links (#33097) 2025-01-08 01:38:30 +00:00