~edwargix/git.sr.ht

7b4692dec8b561fc2b1a36656dc6e5cd87ab5804 — Drew DeVault 7 years ago 8b3fbaa
404 when trying to browse submodules
1 files changed, 2 insertions(+), 0 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +2 -0
@@ 191,6 191,8 @@ def tree(owner, repo, ref, path):
                        editorconfig=editorconfig)
            tree = git_repo.get(entry.id)

        if not tree:
            abort(404)
        tree = annotate_tree(git_repo, tree, commit)
        tree = sorted(tree, key=lambda e: e.name)