]> git.ipfire.org Git - thirdparty/git.git/commit
add: remove ensure_full_index() with --renormalize
authorDerrick Stolee <dstolee@microsoft.com>
Thu, 29 Jul 2021 14:52:07 +0000 (14:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Jul 2021 19:36:34 +0000 (12:36 -0700)
commit42f8ed6ca24854141c34aa82472ca126fdaeaf65
tree796d39fd8119a5324dc69c048f13e96e3736738a
parent939fa07582a2c9455e71f599263e2dcbe1d655b5
add: remove ensure_full_index() with --renormalize

The --renormalize option updates the EOL conversions for the tracked
files. However, the loop already ignores files marked with the
SKIP_WORKTREE bit, so it will continue to do so with a sparse index
because the sparse directory entries also have this bit set.

Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c