summaryrefslogtreecommitdiff
path: root/diff.go
diff options
context:
space:
mode:
Diffstat (limited to 'diff.go')
-rw-r--r--diff.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.go b/diff.go
index fab4fce..308859a 100644
--- a/diff.go
+++ b/diff.go
@@ -132,6 +132,7 @@ func diffLineFromC(line *C.git_diff_line) DiffLine {
}
type Diff struct {
+ doNotCompare
ptr *C.git_diff
repo *Repository
runFinalizer bool
@@ -219,6 +220,7 @@ func (diff *Diff) FindSimilar(opts *DiffFindOptions) error {
}
type DiffStats struct {
+ doNotCompare
ptr *C.git_diff_stats
}