summaryrefslogtreecommitdiff
path: root/test-read-cache.c
diff options
context:
space:
mode:
authorLibravatar Maxim Bublis <satori@yandex-team.ru>2014-08-29 15:53:37 +0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-08-29 10:31:14 -0700
commit2668d692eb1af63097628447f2e0c783b1a45e2e (patch)
tree941bfb5a89e5a0b21c797d560eb804272130434c /test-read-cache.c
parentt9300: test filedelete command (diff)
downloadtgif-2668d692eb1af63097628447f2e0c783b1a45e2e.tar.xz
fast-import: fix segfault in store_tree()
Branch tree is NULLified by filedelete command if we are trying to delete root tree. Add sanity check and use load_tree() in that case. Signed-off-by: Maxim Bublis <satori@yandex-team.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-read-cache.c')
0 files changed, 0 insertions, 0 deletions