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,
561561 from_one = deref_tag (the_repository , from_one ,
562562 "a from object" , 0 );
563563 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
565566 * looking at the ancestry chain alone, so
566567 * leave a note to ourselves not to worry about
567568 * this object anymore.
@@ -625,10 +626,7 @@ int can_all_from_reach_with_flag(struct object_array *from,
625626 }
626627
627628cleanup :
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 );
632630 free (list );
633631
634632 for (i = 0 ; i < from -> nr ; i ++ )
You can’t perform that action at this time.
0 commit comments