summaryrefslogtreecommitdiff
path: root/branch.go
diff options
context:
space:
mode:
Diffstat (limited to 'branch.go')
-rw-r--r--branch.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/branch.go b/branch.go
index 217b877..9596d0b 100644
--- a/branch.go
+++ b/branch.go
@@ -19,6 +19,7 @@ const (
)
type Branch struct {
+ doNotCompare
*Reference
}
@@ -27,6 +28,7 @@ func (r *Reference) Branch() *Branch {
}
type BranchIterator struct {
+ doNotCompare
ptr *C.git_branch_iterator
repo *Repository
}