]> git.99rst.org Git - git.git/commit
index: raise a bug if the index is materialised more than once
authorAnh Le <redacted>
Thu, 3 Nov 2022 23:05:01 +0000 (23:05 +0000)
committerTaylor Blau <redacted>
Sat, 5 Nov 2022 00:28:28 +0000 (20:28 -0400)
commit8c7abdc596d572bee5d001d4e889c793f7020588
tree4dca982f5545fa6415ae3a83b64e33b695408d0d
parent89aaab11a34d9b4a7421fbd10a0e399135b2dc2c
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 <redacted>
Signed-off-by: Taylor Blau <redacted>
sparse-index.c
git clone https://git.99rst.org/PROJECT