Skip to content

Empty commits not visible in repo page #7188

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
silverwind opened this issue Jun 12, 2019 · 2 comments · Fixed by #7521
Closed

Empty commits not visible in repo page #7188

silverwind opened this issue Jun 12, 2019 · 2 comments · Fixed by #7521
Labels
topic/ui Change the appearance of the Gitea UI

Comments

@silverwind
Copy link
Member

silverwind commented Jun 12, 2019

Empty commits created via git commit --allow-empty -m "empty commit" do not show up in the repo page in the commit box above the file list. Example:

Repo (Not OK)
Commit (OK)
Commits (OK)

@silverwind silverwind changed the title Empty commits not show visible in repo page Empty commits not visible in repo page Jun 12, 2019
@lunny lunny added the topic/ui Change the appearance of the Gitea UI label Jun 13, 2019
@silverwind
Copy link
Member Author

silverwind commented Jul 14, 2019

I think it applies to any commit with a message that does not render visible HTML. I did a XSS test via commit message, the commit is absent in the repo overview:

image

Edit: That commit had empty body, so likely that is the cause, not the message.

@filipnavara
Copy link
Contributor

I verified that GitHub shows these empty commits (https://github.com/filipnavara/test-maestro):

image

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants