diff --git a/progit/app.py b/progit/app.py index c359016..f3be724 100644 --- a/progit/app.py +++ b/progit/app.py @@ -76,7 +76,7 @@ def view_repo(repo): return flask.render_template( 'repo_info.html', repo=repo, - branches=repo_obj.listall_branches(), + branches=sorted(repo_obj.listall_branches()), branchname='master', last_commits=last_commits, tree=sorted(last_commits[0].tree, key=lambda x: x.filemode),