fix go 1.0 compile error
This commit is contained in:
parent
155f641683
commit
4553b3ada6
4
diff.go
4
diff.go
|
@ -423,8 +423,6 @@ func (v *Repository) DiffTreeToTree(oldTree, newTree *Tree, opts *DiffOptions) (
|
||||||
|
|
||||||
if notifyData != nil && notifyData.Diff != nil {
|
if notifyData != nil && notifyData.Diff != nil {
|
||||||
return notifyData.Diff, nil
|
return notifyData.Diff, nil
|
||||||
} else {
|
|
||||||
return newDiffFromC(diffPtr), nil
|
|
||||||
}
|
}
|
||||||
|
return newDiffFromC(diffPtr), nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue