ref: Handle `git.ErrReferenceAmbiguous` in `FindBranch`
The `repo.GetReference` can throw a `git.ErrReferenceAmbiguous` error when the provided reference is ambiguous. We shouldn't treat these errors as internal errors as they would then be counted towards the error budget. So catch these errors and treat them as `NewInvalidArgument` errors.
Please register or sign in to comment