diff options
| author | Anh Le <anh@canva.com> | 2022-11-03 23:05:01 +0000 |
|---|---|---|
| committer | Taylor Blau <me@ttaylorr.com> | 2022-11-04 20:28:28 -0400 |
| commit | 8c7abdc596d572bee5d001d4e889c793f7020588 (patch) | |
| tree | 4dca982f5545fa6415ae3a83b64e33b695408d0d /builtin/notes.c | |
| parent | index: add trace2 region for clear skip worktree (diff) | |
| download | git-8c7abdc596d572bee5d001d4e889c793f7020588.tar.gz git-8c7abdc596d572bee5d001d4e889c793f7020588.zip | |
index: raise a bug if the index is materialised more than once
If clear_skip_worktree_from_present_files() encounter a sparse directory,
it fully materialise the index which should expand any sparse directories
and start going through each entries again. If this happens more than once,
raise it with a BUG.
Signed-off-by: Anh Le <anh@canva.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'builtin/notes.c')
0 files changed, 0 insertions, 0 deletions
