Skip to content

Make UserCherryPick return NotFound when commit cannot be found

James Fargher requested to merge cherry_pick_clean_up into master

Fixes #4207 (closed)

  • Extracts a new CommitNotFoundError for git2go that distinguishes when we fail to find a commit.
  • Catches said error in UserCherryPick in order to set the GRPC code correctly

By the looks of the tests I needed to change, there are probably a few other RPCs that need the same treatment.

Edited by James Fargher

Merge request reports