git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation/git-fsck.txt: include fsck.* config variables

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 29, 2019, 21:32 UTC
Message-ID
<xmqq5znkv86m.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190729201236.GF14943@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 23 quoted lines
> On Mon, Jul 29, 2019 at 08:48:28AM -0700, Junio C Hamano wrote:
>
>> > Before this include let's add:
>> >
>> >     The below documentation is the same as what’s found in
>> >     git-config(1):
>> 
>> I actually do not think we would want to do that.  I am all for the
>> kind of 'include' proposed by this patch, and we should strive to
>> make it easier for us to make sure the duplicated text are in sync.
>> 
>> But that would mean that the readers will have to see the "is the
>> same as the other one" over and over.  If our documentation set is
>> consistent, they should not have to.
>> 
>> I think we *must* make such a note in a total opposite case,
>> i.e. "here are the summary of the most often used options; for full
>> list, see git-config(1)".
>
> I disagree. _We_ know that the content is the same, because we are
> looking at the source that says "include". But as a user, how do I know
> when I get to one section or the other that it is something I have
> already read and can skip over?

I want to raise the user expectation so that they would expect from our documentation, unless we say "these are different", we would never say conflicting things in two places.

So,... I disagree.
Previous: Jeff KingNext: Olivier Bornet
Message 7 of 8 in “Problem with fsck and invalid submodule path in history”
  1. Olivier BornetJul 29, 2019
  2. SZEDER GáborJul 29, 2019
  3. Documentation/git-fsck.txt: include fsck.* config variablesSZEDER Gábor, Jul 29, 2019
  4. Ævar Arnfjörð BjarmasonJul 29, 2019
  5. Junio C HamanoJul 29, 2019
  6. Jeff KingJul 29, 2019
  7. Junio C HamanoJul 29, 2019
  8. Olivier BornetJul 29, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.