From: Jeff King Date: Thu, 29 Jun 2023 08:38:59 GMT Subject: index.skipHash doesn't work with split index, was Re: Bug Report Message-ID: <20230629083859.GA585934@coredump.intra.peff.net> In-Reply-To: On Tue, Jun 27, 2023 at 05:02:30PM +0100, Tiago d'Almeida wrote: > Attached to this email follow the `git bugreport` and global `config` > files, and the git_bug repo. Thanks for providing your config; it was very important to reproducing. The bug comes from the combination of "core.splitIndex" and "index.skipHash" (the latter is triggered in your config by "feature.manyFiles"). Here's a quick reproduction: git init repo cd repo touch file git -c core.splitIndex=true -c index.skipHash=true add file That should add "file" to the index but doesn't. Removing either the splitIndex option or the skipHash option makes it work. I didn't dig further than that. Adding the author of skipHash to the cc. -Peff