| 2512 | } |
| 2513 | |
| 2514 | static void add_untracked(struct untracked_cache_dir *dir, const char *name) |
| 2515 | { |
| 2516 | if (!dir) |
| 2517 | return; |
| 2518 | ALLOC_GROW(dir->untracked, dir->untracked_nr + 1, |
| 2519 | dir->untracked_alloc); |
| 2520 | dir->untracked[dir->untracked_nr++] = xstrdup(name); |
| 2521 | } |
| 2522 | |
| 2523 | static int valid_cached_dir(struct dir_struct *dir, |
| 2524 | struct untracked_cache_dir *untracked, |
no test coverage detected