]> source.dussan.org Git - gitea.git/commit
Fix successful return value for `SyncAndGetUserSpecificDiff` (#27152) (#27156)
authorGiteabot <teabot@gitea.io>
Wed, 20 Sep 2023 22:58:13 +0000 (06:58 +0800)
committerGitHub <noreply@github.com>
Wed, 20 Sep 2023 22:58:13 +0000 (00:58 +0200)
commit25233a9bdcfd8d74c803be7712bdaed72eb41455
tree8d23ef6d9d3a0fa15be23233df0385c13ca24a87
parent7a99c7b83c0c1b6002ab6ff43000cd928b791643
Fix successful return value for `SyncAndGetUserSpecificDiff` (#27152) (#27156)

Backport #27152 by @delvh

A function should not return an error when it is successful.
Otherwise, things like
https://discord.com/channels/322538954119184384/322538954119184384/1153705341620600833
happen…

Co-authored-by: delvh <dev.lh@web.de>
services/gitdiff/gitdiff.go