Closed
Description
- Gitea version (or commit ref): 1.8.0 built with go1.12.4
- Git version: 2.21.0
- Operating system: Linux Debian
- Database (use
[x]
):- [ x] MySQL
- Can you reproduce the bug at https://try.gitea.io:
- [ x] Yes
Description
If gitea is mirroring an external repository and the external repository undergoes a rebase or a force push (so that the histories diverge), then the mirrored repository fails to show those changes.
Steps to reproduce:
- Create a repository with an inital commit on GitHub
- Mirror this with gitea
- Reword the initial commit, and force push up to Github
- Observe that the changes are not shown on the master branch of the mirrored repository
For an example please see https://try.gitea.io/samangh/teset, which is supposed to be a mirror of https://github.com/samangh/test.