From 394f6db0bb2625a4202a17f90ed86c7bf7ba8f4a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 22 2015 15:35:17 +0000 Subject: let's not forget the branch --- diff --git a/pagure/ui/repo.py b/pagure/ui/repo.py index db92854..f17cbf2 100644 --- a/pagure/ui/repo.py +++ b/pagure/ui/repo.py @@ -176,7 +176,7 @@ def view_repo_branch(repo, branchname, username=None): master_commits = [ commit.oid.hex for commit in orig_repo.walk( - .get_object().hex, + master_branch.get_object().hex, pygit2.GIT_SORT_TIME) ]