Use the right default branch to log_rss_url()
1 files changed, 1 insertions(+), 1 deletions(-) M gitsrht/urls.py
M gitsrht/urls.py => gitsrht/urls.py +1 -1
@@ 13,7 13,7 @@ def clone_urls(repo): ] def log_rss_url(repo, ref=None): - ref = ref if ref != "master" else None + ref = ref if ref != repo.git_repo.default_branch_name() else None return url_for("repo.log_rss", owner=repo.owner.canonical_name, repo=repo.name,