[v2,5/6] commit-graph write: remove empty line for readability
diff mbox series

Message ID 20181120195027.3260-6-avarab@gmail.com
State New
Headers show
  • [v2,1/6] commit-graph write: rephrase confusing progress output
Related show

Commit Message

Ævar Arnfjörð Bjarmason Nov. 20, 2018, 7:50 p.m. UTC
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 08fd81c9b6 ("commit-graph: implement write_commit_graph()",

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
 commit-graph.c | 1 -
 1 file changed, 1 deletion(-)

diff mbox series

diff --git a/commit-graph.c b/commit-graph.c
index fd1fd61750..0e98679bce 100644
--- a/commit-graph.c
+++ b/commit-graph.c
@@ -888,7 +888,6 @@  void write_commit_graph(const char *obj_dir,
 	close_reachable(&oids, report_progress);
 	QSORT(oids.list, oids.nr, commit_compare);
 	count_distinct = 1;
 	for (i = 1; i < oids.nr; i++) {
 		if (!oideq(&oids.list[i - 1], &oids.list[i]))