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