/representation-for-bug-with-download-archive-on-gitea

This is a repository to reproduce a bug related to the appearance of unwanted git hooks when loading the repository as an archive via the Web UI and the resulting breakdown of Pull Requests on Gitea (1.17.1)

representation-for-bug-with-download-archive-on-gitea

See more go-gitea/gitea#21148, go-gitea/gitea#19810

This is a repository to reproduce a bug related to the appearance of unwanted git hooks when loading the repository as an archive via the Web UI and the resulting breakdown of Pull Requests on Gitea (1.17.1)

Steps for representation:

  1. Import/Clone this repository onto your gitea instance
It is important to move the repository along with the LFS files

image

image

  1. Download the repository as an archive via the Web UI

image

  1. Create a PR with any modified lfs file

image

  1. Close the PR and then create a new one just like it

image

  1. After click on button "Create Pull Request" get error 500 and broken PR

image

image