Skip to content

Conversation

th1000s
Copy link
Collaborator

@th1000s th1000s commented Jan 4, 2022

Only cloneable when testing, the types git2::Config and
git2::Repository in GitConfig contain C pointers and can't
really be cloned.

Only cloneable when testing, the types git2::Config and
git2::Repository in GitConfig contain C pointers and can't
really be cloned.
@th1000s th1000s mentioned this pull request Jan 4, 2022
@WayneD
Copy link
Contributor

WayneD commented Jan 5, 2022

Nice work! My rust-novice eyes can follow most of that, and I think the GitConfig work-around seems quite reasonable for the tests.

@dandavison dandavison merged commit 48fec2e into dandavison:master Jan 5, 2022
@dandavison
Copy link
Owner

Great!

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.

3 participants