Robert Dailey <rcdailey.lists@xxxxxxxxx> writes: > On Sun, May 29, 2022 at 1:25 PM Junio C Hamano <gitster@xxxxxxxxx> wrote: >> Does this command >> >> git add -p -- . ':^*.cs' >> >> work as you expect? > > yes I can confirm this works. Thanks for confirming; you helped a lot to come up with a fix that is found at https://lore.kernel.org/git/xmqqpmjwx8so.fsf_-_@gitster.g/