problem: empty diff is shown as "Diff content is not available" #12449
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Does your problem still exist on the latest Forgejo version?
Yes, the problem still exists (tested on a next instance)
About your usage of Forgejo
Codeberg user, Forgejo contributor …
Problem description
Following string is shown when a diff is empty
codeberg.org/forgejo/forgejo@69cf1f3333/options/locale/locale_en-US.ini (L2583)determined bycodeberg.org/forgejo/forgejo@69cf1f3333/templates/repo/diff/box.tmpl (L102-103)andcodeberg.org/forgejo/forgejo@69cf1f3333/routers/web/repo/commit.go (L403)Do you agree that it should be changed to something like
Diff is emptyinstead?Are there cases where
Diff content is not availableis indeed more appropriate?Potential workarounds
No response
Forgejo Version
15, 16 …
Other details about your environment (software names and versions)
Codeberg
Solutions
Accepted solutions to address this problem will go here