File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -561,7 +561,8 @@ int can_all_from_reach_with_flag(struct object_array *from,
561
561
from_one = deref_tag (the_repository , from_one ,
562
562
"a from object" , 0 );
563
563
if (!from_one || from_one -> type != OBJ_COMMIT ) {
564
- /* no way to tell if this is reachable by
564
+ /*
565
+ * no way to tell if this is reachable by
565
566
* looking at the ancestry chain alone, so
566
567
* leave a note to ourselves not to worry about
567
568
* this object anymore.
@@ -625,10 +626,7 @@ int can_all_from_reach_with_flag(struct object_array *from,
625
626
}
626
627
627
628
cleanup :
628
- for (i = 0 ; i < nr_commits ; i ++ ) {
629
- clear_commit_marks (list [i ], RESULT );
630
- clear_commit_marks (list [i ], assign_flag );
631
- }
629
+ clear_commit_marks_many (nr_commits , list , RESULT | assign_flag );
632
630
free (list );
633
631
634
632
for (i = 0 ; i < from -> nr ; i ++ )
You can’t perform that action at this time.
0 commit comments