Thread (128 messages) 128 messages, 7 authors, 2021-02-01

Re: [PATCH v2 07/10] commit-graph: implement corrected commit date

flat view

From: Derrick Stolee <hidden>
Date: 2020-08-14 12:24:42

On 8/14/2020 12:59 AM, Abhishek Kumar wrote:
I solved the issue by adding a new member to struct commit_graph
`read_generation_data` to maintain the "global" state of the entire
commit-graph chain instead.

The relevant changes are in validate_mixed_generation_chain(),
read_commit_graph_one() and fill_commit_graph_info().
I think this is a good way to go. Adding that restriction about
the tip commit-graph was short-sighted of me and was likely to
break in the future.

I think your solution here to store extra state from the entire
chain into each layer makes a lot of sense.

Thanks!
-Stolee
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help