From 7269db8d8cde427bb4fc15ed9942058486b15027 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 12 2014 14:10:56 +0000 Subject: Do not redefine the repo_commit object --- diff --git a/progit/ui/fork.py b/progit/ui/fork.py index 73a6649..d260d8a 100644 --- a/progit/ui/fork.py +++ b/progit/ui/fork.py @@ -103,8 +103,6 @@ def request_pull(repo, requestid, username=None): pygit2.GIT_SORT_TIME) ] - repo_commit = repo_obj[request.start_id] - for commit in repo_obj.walk( request.stop_id, pygit2.GIT_SORT_TIME): if request.status is False and commit.oid.hex == request.start_id: