summaryrefslogtreecommitdiff
path: root/t/t6011-rev-list-with-bad-commit.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-04-17 08:16:23 +1000
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-04-17 20:48:32 -0700
commit55f0566f6d7269a56751333e0943b50237ce6a85 (patch)
tree882e7400a1e085b19d31761d0066f515796acf60 /t/t6011-rev-list-with-bad-commit.sh
parentgitignore git-bisect--helper (diff)
downloadtgif-55f0566f6d7269a56751333e0943b50237ce6a85.tar.xz
get_local_heads(): do not return random pointer if there is no head
it's silly to do this: mkdir foo && cd foo && git init && git push somewhere.git but segfault should not happen even in that case. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6011-rev-list-with-bad-commit.sh')
0 files changed, 0 insertions, 0 deletions