summaryrefslogtreecommitdiff
path: root/git-quiltimport.sh
diff options
context:
space:
mode:
authorLibravatar Michael Forney <mforney@mforney.org>2020-06-23 13:56:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-24 09:13:08 -0700
commit85a1ec2c32f4f41dd4526651df4b3666a41334fe (patch)
tree52c79aafa293ad178c7aaa7e14981f7113ef067c /git-quiltimport.sh
parentrevision: use repository from rev_info when parsing commits (diff)
downloadtgif-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 'git-quiltimport.sh')
0 files changed, 0 insertions, 0 deletions