summaryrefslogtreecommitdiff
path: root/t/t1013-loose-object-format.sh
diff options
context:
space:
mode:
authorLibravatar Tzvetan Mikov <tmikov@gmail.com>2014-11-04 12:33:37 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-11-04 12:47:35 -0800
commita8787c5c1c51f4bdb610526175442a23eea7c467 (patch)
tree3a00579a034a4231109d36ecdfc6432742d22327 /t/t1013-loose-object-format.sh
parentMerge branch 'tr/line-log' (diff)
downloadtgif-a8787c5c1c51f4bdb610526175442a23eea7c467.tar.xz
line-log: fix crash when --first-parent is used
line-log tries to access all parents of a commit, but only the first parent has been loaded if "--first-parent" is specified, resulting in a crash. Limit the number of parents to one if "--first-parent" is specified. Reported-by: Eric N. Vander Weele <ericvw@gmail.com> Signed-off-by: Tzvetan Mikov <tmikov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1013-loose-object-format.sh')
0 files changed, 0 insertions, 0 deletions