diff options
author | James Coglan <jcoglan@gmail.com> | 2019-10-16 02:47:56 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-16 05:11:25 +0300 |
commit | 0195285b956e1b52defa6c259253a7b888fc25df (patch) | |
tree | fb0fce6c8eeabd17b9c5a56b2e6620c7612ace17 /t/t4214-log-graph-octopus.sh | |
parent | d62893ecc125767d44a194279bcaffa0d02d2572 (diff) |
graph: rename `new_mapping` to `old_mapping`
The change I'm about to make requires being able to inspect the mapping
array that was used to render the last GRAPH_COLLAPSING line while
rendering a GRAPH_COMMIT line. The `new_mapping` array currently exists
as a pre-allocated space for computing the next `mapping` array during
`graph_output_collapsing_line()`, but we can repurpose it to let us see
the previous `mapping` state.
To support this use it will make more sense if this array is named
`old_mapping`, as it will contain the mapping data for the previous line
we rendered, at the point we're rendering a commit line.
Signed-off-by: James Coglan <jcoglan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4214-log-graph-octopus.sh')
0 files changed, 0 insertions, 0 deletions