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

Re: [PATCH 7/8] Doc clean: add See Also links

From
Philip Oakley <philipoakley@iee.org>
Date
Sep 16, 2012, 19:21 UTC
Message-ID
<5056269F.3070708@iee.org>
In-Reply-To
<vpqsjaiyxth.fsf@grenoble-inp.fr>
On 16/09/12 13:08, Matthieu Moy wrote:
Show 21 quoted lines
> Philip Oakley <philipoakley@iee.org> writes:
>
>> --- a/Documentation/git-clean.txt
>> +++ b/Documentation/git-clean.txt
>> @@ -63,6 +63,12 @@ OPTIONS
>>   	Remove only files ignored by git.  This may be useful to rebuild
>>   	everything from scratch, but keep manually created files.
>>   
>> +SEE ALSO
>> +--------
>> +linkgit:gitignore[5]
>> +linkgit:gitrepository-layout[5]
>> +The optional configuration variable `core.excludesfile` linkgit:git-config[1]
> I think linkgit:gitignore[5] is enough. linkgit:gitrepository-layout[5]
> is a very general documentation, it's not clear to the reader which part
> is intended to be read in complement to git-clean, and indeed, the
> relevant information is already in linkgit:gitignore[5]. Same for
> core.excludesfile which is already documented in linkgit:gitignore[5].
>
> Otherwise, I suspect we'll end-up having the transitive closure of SEE
> ALSO in each manpage ...

I'd added all three partly because of the git add link which went first to the repository layout which didn't help me much without the extra link.

In fact I've lost a patch (a mistaken rebase todo list possibly) to make the three git ignore pattern types more obvious in the documentation, which would probably cover your point.

Previous: Matthieu MoyNext: Philip Oakley
Message 3 of 6 in “Doc clean: add See Also links”
  1. 7/8 Doc clean: add See Also linksPhilip Oakley, Sep 16, 2012
  2. Matthieu MoySep 16, 2012
  3. Philip OakleySep 16, 2012
  4. Philip OakleySep 16, 2012
  5. Junio C HamanoSep 17, 2012
  6. Philip OakleySep 17, 2012

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.