aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJames Coglan <jcoglan@gmail.com>2019-10-15 23:47:56 +0000
committerJunio C Hamano <gitster@pobox.com>2019-10-16 11:11:25 +0900
commit0195285b956e1b52defa6c259253a7b888fc25df (patch)
treefb0fce6c8eeabd17b9c5a56b2e6620c7612ace17 /contrib/persistent-https
parentgraph: commit and post-merge lines for left-skewed merges (diff)
downloadgit-0195285b956e1b52defa6c259253a7b888fc25df.tar.gz
git-0195285b956e1b52defa6c259253a7b888fc25df.zip
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 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions