Thread (3 messages) 3 messages, 3 authors, 2023-07-05

index.skipHash doesn't work with split index, was Re: Bug Report

From: Jeff King <hidden>
Date: 2023-06-29 08:42:31

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help