diff options
author | Maxim Bublis <satori@yandex-team.ru> | 2014-08-29 13:53:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-29 19:31:14 +0200 |
commit | 2668d692eb1af63097628447f2e0c783b1a45e2e (patch) | |
tree | 941bfb5a89e5a0b21c797d560eb804272130434c /varint.h | |
parent | t9300: test filedelete command (diff) | |
download | git-2668d692eb1af63097628447f2e0c783b1a45e2e.tar.xz git-2668d692eb1af63097628447f2e0c783b1a45e2e.zip |
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 'varint.h')
0 files changed, 0 insertions, 0 deletions