summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'git.go')
-rw-r--r--git.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/git.go b/git.go
index d672d77..3f51048 100644
--- a/git.go
+++ b/git.go
@@ -123,6 +123,10 @@ var (
ErrInvalid = errors.New("Invalid state for operation")
)
+// doNotCompare is an idiomatic way of making structs non-comparable to avoid
+// future field additions to make them non-comparable.
+type doNotCompare [0]func()
+
var pointerHandles *HandleList
func init() {