gitea/services/gitdiff
hiifong b7614e2d2f
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
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 Reduce integration test overhead (#32475) 2024-11-14 19:28:46 +00:00
csv_test.go Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
csv.go
gitdiff_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
highlightdiff_test.go
highlightdiff.go Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
main_test.go
submodule_test.go add submodule diff links (#33097) 2025-01-08 01:38:30 +00:00
submodule.go add submodule diff links (#33097) 2025-01-08 01:38:30 +00:00