git.samba.org
/
jelmer
/
dulwich-libgit2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Index.commit.
[jelmer/dulwich-libgit2.git]
/
dulwich
/
repo.py
diff --git
a/dulwich/repo.py
b/dulwich/repo.py
index ef3e9ffe422d56e4afdfe000d9a0086ff4dd8541..4856e80072157159444e862bc1676ecd8c159b05 100644
(file)
--- a/
dulwich/repo.py
+++ b/
dulwich/repo.py
@@
-774,8
+774,7
@@
class BaseRepo(object):
break
i += 1
history.insert(i, commit)
- parents = commit.parents
- pending_commits += parents
+ pending_commits += commit.parents
history.reverse()
return history