diff options
author | Michael Forney <mforney@mforney.org> | 2020-06-23 13:56:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-24 09:13:08 -0700 |
commit | 85a1ec2c32f4f41dd4526651df4b3666a41334fe (patch) | |
tree | 52c79aafa293ad178c7aaa7e14981f7113ef067c /alloc.c | |
parent | revision: use repository from rev_info when parsing commits (diff) | |
download | tgif-85a1ec2c32f4f41dd4526651df4b3666a41334fe.tar.xz |
submodule: use submodule repository when preparing summary
In show_submodule_header(), we gather the left and right commits
of the submodule repository, as well as the merge bases. However,
prepare_submodule_summary() initializes the rev_info with the_repository,
so we end up parsing the commit in the wrong repository.
This results in a fatal error in parse_commit_in_graph(), since the
passed item does not belong to the repository's commit graph.
Signed-off-by: Michael Forney <mforney@mforney.org>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alloc.c')
0 files changed, 0 insertions, 0 deletions