libgit2 / git2go

Git to Go; bindings for libgit2. Like McDonald's but tastier.
MIT License
1.93k stars 316 forks source link

Make all non-user-creatable structures non-comparable (#802) #804

Closed lhchavez closed 3 years ago

lhchavez commented 3 years ago

This change makes all non-user-creatable structures non-comparable. This makes it easier to add changes later that don't introduce breaking changes from the go compatibility guarantees perspective.

This, of course, implies that this change is a breaking change, but since these structures are not intended to be created by users (or de-referenced), it should be okay.

(cherry picked from commit dbe032c347b1a1308a4b880e7c5a06d8dfb4d507)