Skip to content

Commit d974cef

Browse files
Fix keyerror when rebasing certain branching structures
Signed-off-by: Jacob Stopak <jacob@initialcommit.io>
1 parent a7847ab commit d974cef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git_sim/git_sim_rebase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def execute(self):
4040
self.get_commits(start=self.scene.args.branch[0])
4141
self.parse_commits(self.commits[0])
4242
self.orig_commits = self.commits
43+
self.i = 0
4344
self.get_commits()
4445
self.parse_commits(self.commits[0], shift=4*m.DOWN)
4546
self.center_frame_on_commit(self.orig_commits[0])

0 commit comments

Comments
 (0)