[PATCH v2 0/2] fast-import: fix segfault and filedelete tests
- From
- Maxim Bublis <satori@yandex-team.ru>
- Date
- Aug 29, 2014, 11:53 UTC
- Message-ID
- <1409313217-23198-1-git-send-email-satori@yandex-team.ru>
Removing root tree with filedelete command would lead to segmentation fault in store_tree(). First patch from patch series adds filedelete command tests with test case to show incorrect behaviour on filedelete root operation. Second one fixes bug by sanity check and load_tree() usage.
Maxim Bublis (2): t9300: test filedelete command fast-import: fix segfault in store_tree()
fast-import.c | 6 ++- t/t9300-fast-import.sh | 104 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 1 deletion(-)
-- 1.8.5.2 (Apple Git-48)