Re: [PATCH] doc/technical: remove outdated MIDX default note

2 messages, 2 authors, 2021-09-23 · open the first message on its own page

Re: [PATCH] doc/technical: remove outdated MIDX default note

From: Junio C Hamano <hidden>
Date: 2021-09-23 20:27:35

Taylor Blau [off-list ref] writes:
On Thu, Sep 23, 2021 at 09:47:03AM -0400, Derrick Stolee wrote:
quoted
On 9/22/2021 6:13 PM, Eric Wong wrote:
quoted
Multi-pack-index files are used by default since
commit 18e449f86b74bab35b150549c8342d252fe7ae00, so the
outdated note was misleading.
You are correct that the note is misleading, but it is still correct.

A user can _disable_ reading MIDX files by setting core.multiPackIndex
to false. If this was in the user-facing docs, not the technical docs,
then I might push back on trying to make that distinction.
It may present a fuller picture to instead say:

  The core.multiPackIndex config setting must be on (which is the default)
  to consume MIDX files. Setting it to `false` prevents Git from reading a
  MIDX file, even if one exists.
Do you want to replace the one-line sentence with that paragraph,
instead of removing it, in a replacement patch?

Re: [PATCH] doc/technical: remove outdated MIDX default note

From: Taylor Blau <hidden>
Date: 2021-09-23 20:33:01

On Thu, Sep 23, 2021 at 01:27:31PM -0700, Junio C Hamano wrote:
Taylor Blau [off-list ref] writes:
quoted
On Thu, Sep 23, 2021 at 09:47:03AM -0400, Derrick Stolee wrote:
quoted
On 9/22/2021 6:13 PM, Eric Wong wrote:
quoted
Multi-pack-index files are used by default since
commit 18e449f86b74bab35b150549c8342d252fe7ae00, so the
outdated note was misleading.
You are correct that the note is misleading, but it is still correct.

A user can _disable_ reading MIDX files by setting core.multiPackIndex
to false. If this was in the user-facing docs, not the technical docs,
then I might push back on trying to make that distinction.
It may present a fuller picture to instead say:

  The core.multiPackIndex config setting must be on (which is the default)
  to consume MIDX files. Setting it to `false` prevents Git from reading a
  MIDX file, even if one exists.
Do you want to replace the one-line sentence with that paragraph,
instead of removing it, in a replacement patch?
That's what I was hoping for, and Eric did that here:

    https://lore.kernel.org/git/20210923201252.GA25980@dcvr/

Thanks,
Taylor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help