Commit 2668d69
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 8d30d8a commit 2668d69
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
1422 | | - | |
| 1422 | + | |
1423 | 1423 | | |
1424 | 1424 | | |
1425 | 1425 | | |
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
1429 | 1429 | | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
1430 | 1434 | | |
1431 | 1435 | | |
1432 | 1436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3107 | 3107 | | |
3108 | 3108 | | |
3109 | 3109 | | |
3110 | | - | |
| 3110 | + | |
3111 | 3111 | | |
3112 | 3112 | | |
3113 | 3113 | | |
| |||
3117 | 3117 | | |
3118 | 3118 | | |
3119 | 3119 | | |
3120 | | - | |
| 3120 | + | |
3121 | 3121 | | |
3122 | 3122 | | |
3123 | 3123 | | |
| |||
0 commit comments