Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UserCache.get_pr_from_commit: check if commit exists first
As the underlying dict is a nested dictionary which sets automatically a value for each accessed key, accessing the commit_sha directly even if it doesn't exist was updating the cache for nothing.
- Loading branch information