summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/gitdiff/gitdiff.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/gitdiff/gitdiff.go b/services/gitdiff/gitdiff.go
index 4cc093e65d..fd0f32717c 100644
--- a/services/gitdiff/gitdiff.go
+++ b/services/gitdiff/gitdiff.go
@@ -1343,7 +1343,7 @@ outer:
}
}
- return diff, err
+ return diff, nil
}
// CommentAsDiff returns c.Patch as *Diff