diff options
author | silverwind <me@silverwind.io> | 2024-04-22 12:48:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 10:48:14 +0000 |
commit | 0386a42f70d1026c50697b12378f5026a63182b9 (patch) | |
tree | 9fc867889ae1c6284ab0b7cf37abe7af05bd78c3 /modules/git/repo_commit.go | |
parent | 31386dc2bb94346b5a1039f009021a4e2f5eb166 (diff) | |
download | gitea-0386a42f70d1026c50697b12378f5026a63182b9.tar.gz gitea-0386a42f70d1026c50697b12378f5026a63182b9.zip |
Hide diff stats on empty PRs (#30629)
When a PR is empty, e.g. has neither additions nor deletions, we don't
need to show this:
<img width="125" alt="Screenshot 2024-04-21 at 23 25 38"
src="https://github.com/go-gitea/gitea/assets/115237/0b987eb5-66f5-4b9b-b5aa-7e9e267e9b52">
Diffstat (limited to 'modules/git/repo_commit.go')
0 files changed, 0 insertions, 0 deletions