| 1827 | } |
| 1828 | |
| 1829 | static void populate_from_existing_patterns(struct unpack_trees_options *o, |
| 1830 | struct pattern_list *pl) |
| 1831 | { |
| 1832 | if (get_sparse_checkout_patterns(pl) < 0) |
| 1833 | o->skip_sparse_checkout = 1; |
| 1834 | else |
| 1835 | o->internal.pl = pl; |
| 1836 | } |
| 1837 | |
| 1838 | static void update_sparsity_for_prefix(const char *prefix, |
| 1839 | struct index_state *istate) |
no test coverage detected