Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle pygit2.discover_repository() returning None. #181

Closed
wants to merge 1 commit into from

Conversation

ppentchev
Copy link
Contributor

Hi,

This is an alternative to #180 - the same behavior (treat None as a KeyError) in a different way.

A breaking change was made in pygit2 0.27.1: it now returns None
instead of raising a KeyError if the specified path is not in
a Git repository.

A breaking change was made in pygit2 0.27.1: it now returns None
instead of raising a KeyError if the specified path is not in
a Git repository.
@spderosso
Copy link
Member

liked #180 better.

Thanks again

@spderosso spderosso closed this Aug 26, 2018
@ppentchev ppentchev deleted the roam-path-none-check branch August 26, 2018 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants