Make UserCherryPick return NotFound when commit cannot be found
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