diff options
author | 2021-02-02 03:01:20 +0000 | |
---|---|---|
committer | 2021-02-01 21:03:36 -0800 | |
commit | 448a39e65dedb5f9a58d40e22ec7c0cc3be54173 (patch) | |
tree | de4bf17e7c11119152150af6c45f7244f3903d70 /t/t4018/rust-fn | |
parent | commit-graph: always parse before commit_graph_data_at() (diff) | |
download | tgif-448a39e65dedb5f9a58d40e22ec7c0cc3be54173.tar.xz |
commit-graph: validate layers for generation data
We need to be extra careful that we don't use corrected
commit dates from any layer of a commit-graph chain if there is a
single commit-graph file that is missing the generation_data chunk.
Update validate_mixed_generation_chain() to correctly update each
layer to ignore the generation_data chunk in this case. It now also
returns 1 if all layers have a generation_data chunk. This return
value will be used in the next change.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/rust-fn')
0 files changed, 0 insertions, 0 deletions