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>
Showing
+7 -4
Please register or sign in to comment