1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-12 02:34:28 +00:00
zeripath 3dabfd4933
Convert plumbing.ErrReferenceNotFound to git.ErrNotExist in GetRefCommitID (#10676) (#10797)
* Fix panic in API pulls when headbranch does not exist (#10676)

Backport #10676

* Fix panic in API pulls when headbranch does not exist
* refix other reference to plumbing.ErrReferenceNotFound

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

* Apply suggestions from code review

Co-Authored-By: Lauris BH <lauris@nix.lv>
2020-03-23 15:01:25 +02:00
..
2019-10-29 23:32:21 +02:00
2020-01-16 07:40:37 +02:00
2018-03-30 07:21:27 +08:00
2020-01-04 21:39:14 -05:00
2019-12-23 20:31:16 +08:00