File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -97,18 +97,17 @@ def parse_commits(
9797 self .draw_dark_ref ()
9898
9999 self .first_parse = False
100- if i < self .n :
101- i += 1
102- commitParents = list (commit .parents )
103- if len (commitParents ) > 0 :
104- if settings .invert_branches :
105- commitParents .reverse ()
106-
107- if settings .hide_merged_branches :
108- self .parse_commits (commitParents [0 ], i , circle )
109- else :
110- for p in range (len (commitParents )):
111- self .parse_commits (commitParents [p ], i , circle )
100+ i += 1
101+ commitParents = list (commit .parents )
102+ if len (commitParents ) > 0 :
103+ if settings .invert_branches :
104+ commitParents .reverse ()
105+
106+ if settings .hide_merged_branches :
107+ self .parse_commits (commitParents [0 ], i , circle )
108+ else :
109+ for p in range (len (commitParents )):
110+ self .parse_commits (commitParents [p ], i , circle )
112111
113112 def parse_all (self ):
114113 if self .all :
You can’t perform that action at this time.
0 commit comments