0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-13 07:04:43 +02:00
Lunny Xiao 1352080ef7
Fix incorrect comment diff hunk parsing, fix github asset ID nil panic (#35046)
* Fix missing the first char when parsing diff hunk header
* Fix #35040
* Fix #35049

----

Introduced in
https://github.com/go-gitea/gitea/pull/12047/files#diff-de48c2f70e24ff5603180acf8b5ce9d0356ede8a45bfbf2a485707282ace6d6aR268

Before:

<img width="487" height="167" alt="image"
src="https://github.com/user-attachments/assets/17524c76-a296-4b4b-a4f9-c5150c41bae5"
/>

After:

<img width="749" height="144" alt="image"
src="https://github.com/user-attachments/assets/bcb12c76-c1ae-40f1-81b7-183d15f891db"
/>

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-11 15:18:41 -07:00
..
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-06-24 15:49:31 +00:00
2023-02-11 08:39:50 +08:00
2022-12-30 23:31:00 +08:00
2025-04-01 10:14:01 +00:00
2024-12-24 01:54:19 +00:00
2025-03-31 01:53:48 -04:00