gitea/services/gitdiff
hiifong b7614e2d2f
Fix parentCommit invalid memory address or nil pointer dereference. ()
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 Reduce integration test overhead () 2024-11-14 19:28:46 +00:00
csv.go Use Go 1.21 and update dependencies () 2023-09-03 10:34:57 +00:00
csv_test.go Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
gitdiff.go Fix parentCommit invalid memory address or nil pointer dereference. () 2025-01-19 02:51:43 +00:00
gitdiff_test.go Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
highlightdiff.go Add option to disable ambiguous unicode characters detection () 2023-12-17 14:38:54 +00:00
highlightdiff_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
submodule.go add submodule diff links () 2025-01-08 01:38:30 +00:00
submodule_test.go add submodule diff links () 2025-01-08 01:38:30 +00:00