Skip to content

Commit e59c615

Browse files
avargitster
authored andcommitted
commit-graph write: remove empty line for readability
Remove the empty line between a QSORT(...) and the subsequent oideq() for-loop. This makes it clearer that the QSORT(...) is being done so that we can run the oideq() loop on adjacent OIDs. Amends code added in 08fd81c ("commit-graph: implement write_commit_graph()", 2018-04-02). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 7c7b8a7 commit e59c615

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

commit-graph.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,6 @@ void write_commit_graph(const char *obj_dir,
896896
close_reachable(&oids, report_progress);
897897

898898
QSORT(oids.list, oids.nr, commit_compare);
899-
900899
count_distinct = 1;
901900
for (i = 1; i < oids.nr; i++) {
902901
if (!oideq(&oids.list[i - 1], &oids.list[i]))

0 commit comments

Comments
 (0)