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

Re: [PATCH 2/2] diffcore-pickaxe doc: document -S and -G properly

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 2, 2013, 19:56 UTC
Message-ID
<7v7gicnv6o.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CALkWK0m+kUa0QUotHXSYK40vFviFFv2yETnf6sEZMh05gOgLKg@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 8 quoted lines
>>         Without
>>         --pickaxe-all, only the filepairs matching the given
>>         criterion is left in the output; all filepairs are left in
>>         the output when --pickaxe-all is used and if at least one
>>         filepair matches the given criterion.
>
> Why do a poor-man's version of --pickaxe-all here, when the last
> paragraph already does justice to this?
The point of the first paragraph is to serve to help both:
 (1) people who read about this rather technical part of the
     diffcore pipeline machinery, to prepare them by listing what
     they will learn about in the section; and
 (2) those who already have read and want to skim over, by giving a
     concise summary.

It may have been "poor" because it was merely "something like this" patch, though.

Show 7 quoted lines
> While what you're saying is technically true, I think it is important
> to explain the interaction between diffcore-pickaxe and
> diffcore-rename as I have done.  Someone who wants to understand what
> `git log -S` does will come to this page and read this section:
> without reading diffcore-rename, she will have an incomplete picture;
> what's the harm in explaining diffcore-rename in the context of
> diffcore-pickaxe?

That is a red-herring; that is exactly why we upfront say that the diffcore machinery is a pipeline and we describe upstream processing like rename before we talk about pickaxe in the same document.

This document is the most accurate _technical_ documentation of how the pipeline works (and it is not in section 1 of the manual set). If you want to improve end-user documentation by adding explanation for interactions between pipeline stages and also pathspec, I am all for it, but I think that belongs to the larger "git help diff", not "git help diffcore".

Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 6 of 7 in “Improve diffcore-pickaxe documentation”
  1. 0/2 Improve diffcore-pickaxe documentationRamkumar Ramachandra, May 24, 2013
  2. 1/2 diffcore-pickaxe: make error messages more consistentRamkumar Ramachandra, May 24, 2013
  3. 2/2 diffcore-pickaxe doc: document -S and -G properlyRamkumar Ramachandra, May 24, 2013
  4. Junio C HamanoMay 24, 2013
  5. Ramkumar RamachandraMay 31, 2013
  6. Junio C HamanoJun 2, 2013
  7. Ramkumar RamachandraJun 2, 2013

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.