Repository: git / view all revision fails with branches
while investigating options for #4547 I came across the fact that the "View all revisions" functionality (RepositoriesController#revisions) blindly checks the changesets table and doesn't care about branches.
This leads to revisions of different branched being intermixed when using redmine with git repositories.
To fix this one, of the solutions provided in #4547 only always using git and never using the changesets table or adding branches/parents to the changesets table would work.
Personally, I'd be tempted to just shell out and keep the changesets table empty in case of git.