You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
zeripath 206ea10b45
Prevent NPE on invalid diff (#17197)
* Prevent NPE on invalid diff

If ParseCompareInfo returns a nil compare info the defer function needs to ensure
that it does not attempt to close the HeadGitRepo.

Fix #17193

Signed-off-by: Andrew Thornton <art27@cantab.net>

* add TEST

Co-authored-by: 6543 <6543@obermui.de>
3 years ago
..
api/v1 Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
common Move db related basic functions to models/db (#17075) 3 years ago
install Move db related basic functions to models/db (#17075) 3 years ago
private refactor: move from io/ioutil to io and os package (#17109) 3 years ago
utils just add some unit tests (#16291) 3 years ago
web Prevent NPE on invalid diff (#17197) 3 years ago
init.go Always emit the configuration path (#17036) 3 years ago