diff options
| author | Jesse Ezell <[email protected]> | 2014-03-26 12:20:54 -0700 |
|---|---|---|
| committer | Jesse Ezell <[email protected]> | 2014-03-26 12:20:54 -0700 |
| commit | 4553b3ada6be15c47250bfb7948493b6cb88031b (patch) | |
| tree | 0712a02c7264132623c1c2e82407862a47d1c28d | |
| parent | 155f641683f09ec1a9511f42867ae3f278a6800b (diff) | |
fix go 1.0 compile error
| -rw-r--r-- | diff.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -423,8 +423,6 @@ func (v *Repository) DiffTreeToTree(oldTree, newTree *Tree, opts *DiffOptions) ( if notifyData != nil && notifyData.Diff != nil { return notifyData.Diff, nil - } else { - return newDiffFromC(diffPtr), nil } - + return newDiffFromC(diffPtr), nil } |
