pack-bitmap-write: rename children to reverse_edges
authorDerrick Stolee <dstolee@microsoft.com>
Tue, 8 Dec 2020 22:04:22 +0000 (17:04 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Dec 2020 22:48:17 +0000 (14:48 -0800)
commit928e3f42adc032ce7b7c1323408648d2b6713509
treee2b09588ee112522d012898ab19d08820e689b52
parent1467b9572aa57c1369aaac897fcbbddde4080d75
pack-bitmap-write: rename children to reverse_edges

The bitmap_builder_init() method walks the reachable commits in
topological order and constructs a "reverse graph" along the way. At the
moment, this reverse graph contains an edge from commit A to commit B if
and only if A is a parent of B. Thus, the name "children" is appropriate
for for this reverse graph.

In the next change, we will repurpose the reverse graph to not be
directly-adjacent commits in the commit-graph, but instead a more
abstract relationship. The previous changes have already incorporated
the necessary updates to fill_bitmap_commit() that allow these edges to
not be immediate children.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap-write.c