fix(pull): handle empty pull request files view to allow reviews #153

Closed
opened 2026-05-24 08:24:22 +00:00 by jmiller · 1 comment
Owner

Summary

Empty PRs (no file changes) crash on the Files Changed tab instead of showing an empty view.

Upstream Reference

Severity: Low

Action

Cherry-pick from upstream release/v1.26.


Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

## Summary Empty PRs (no file changes) crash on the Files Changed tab instead of showing an empty view. ## Upstream Reference - PR: https://github.com/go-gitea/gitea/pull/37785 (backport of #37783) - Merged: 2026-05-19 - Branch: release/v1.26 ## Severity: Low ## Action Cherry-pick from upstream `release/v1.26`. --- *Authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>*
jmiller added the priority: lowtype: bugupstream labels 2026-05-24 08:25:48 +00:00
Author
Owner

Included in v1.26.1-moko.04.00.00 security backport or already present in fork. Deployed 2026-05-24.

Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

Included in v1.26.1-moko.04.00.00 security backport or already present in fork. Deployed 2026-05-24. *Authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#153