diff options
author | Taylor Blau <me@ttaylorr.com> | 2020-02-03 13:18:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-04 11:36:51 -0800 |
commit | a7df60cac834cb7f91c3463205c2b6ba5e694200 (patch) | |
tree | f01d5060ce47a0e049a520a72c105a367f13cbde /t/t4117-apply-reject.sh | |
parent | commit-graph.c: remove path normalization, comparison (diff) | |
download | tgif-a7df60cac834cb7f91c3463205c2b6ba5e694200.tar.xz |
commit-graph.h: use odb in 'load_commit_graph_one_fd_st'
Apply a similar treatment as in the previous patch to pass a 'struct
object_directory *' through the 'load_commit_graph_one_fd_st'
initializer, too.
This prevents a potential bug where a pointer comparison is made to a
NULL 'g->odb', which would cause the commit-graph machinery to think
that a pair of commit-graphs belonged to different alternates when in
fact they do not (i.e., in the case of no '--object-dir').
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4117-apply-reject.sh')
0 files changed, 0 insertions, 0 deletions