Skip to content

Allowed remotes to have no refs. #499

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

Merged
merged 2 commits into from
Aug 19, 2016

Conversation

pelson
Copy link
Contributor

@pelson pelson commented Aug 19, 2016

It makes sense to be able to write for ref in repo.remotes.upstream.refs without having to guard against an AssertionError.

Also relates to a comment from @Byron in #480 (comment).

@pelson pelson force-pushed the empty_refs branch 3 times, most recently from 74941c2 to c1481af Compare August 19, 2016 06:41
@Byron
Copy link
Member

Byron commented Aug 19, 2016

Thank you, it's a good call to finally remove that one. If you don't get to removing the failing assertion, I will do that during the weekend.

@pelson
Copy link
Contributor Author

pelson commented Aug 19, 2016

Thanks for the positive (fast) response. I've updated the failing test - should now be passing (it is locally).

@Byron Byron merged commit df5095c into gitpython-developers:master Aug 19, 2016
@Byron
Copy link
Member

Byron commented Aug 19, 2016

Thanks a lot!

@pelson pelson deleted the empty_refs branch August 19, 2016 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants