summaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-23 22:56:59 +0200
committerJunio C Hamano <gitster@pobox.com>2020-06-24 18:13:08 +0200
commit85a1ec2c32f4f41dd4526651df4b3666a41334fe (patch)
tree52c79aafa293ad178c7aaa7e14981f7113ef067c /commit.h
parentrevision: use repository from rev_info when parsing commits (diff)
downloadgit-85a1ec2c32f4f41dd4526651df4b3666a41334fe.tar.xz
git-85a1ec2c32f4f41dd4526651df4b3666a41334fe.zip
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 'commit.h')
0 files changed, 0 insertions, 0 deletions