From 7e7bfcd3486faf40b3a1e5e8d1ec9ed346083b38 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 27 2017 11:52:29 +0000 Subject: Fix typo about which repository is walked by the main walker --- diff --git a/pagure/ui/fork.py b/pagure/ui/fork.py index 95b516e..8338e93 100644 --- a/pagure/ui/fork.py +++ b/pagure/ui/fork.py @@ -86,7 +86,7 @@ def _get_pr_info(repo_obj, orig_repo, branch_from, branch_to): orig_repo.lookup_branch(branch_to).get_object().hex] repo_commit = repo_obj[commitid] - main_walker = repo_obj.walk( + main_walker = orig_repo.walk( orig_commit.oid.hex, pygit2.GIT_SORT_TIME) branch_walker = repo_obj.walk( repo_commit.oid.hex, pygit2.GIT_SORT_TIME)