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
Phil Hord <phil.hord@gmail.com>
Date
May 24, 2013, 14:58 UTC
Message-ID
<CABURp0qCOMJnQ=+p81eXLtj6+zujO=MsYODx8zR_cXjVXwV=HA@mail.gmail.com>
In-Reply-To
<CALkWK0n+NTnO0_4jNuR3Z5qmA_=-Dux+gq8kNzAT4YLC12Z8uQ@mail.gmail.com>

On Fri, May 24, 2013 at 5:37 AM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:

Show 16 quoted lines
> Junio C Hamano wrote:
>> [...]
>
> I agree with the other comments, and have made suitable changes.
> Let's review your block now.
>
>>         This transformation is used to find filepairs that represent
>>         two kinds of changes, and is controlled by the -S, -G and
>>         --pickaxe-all options.
>
> Why do you call this a "transformation"?  Is git log --author="foo" a
> transformation on the git-log output?  Then how is git log -Sfoo a
> transformation?
>
> Two kinds of changes controlled by three different options?  Isn't the
> original much clearer?

They are all three filters. They transform the output by limiting it to commits which meet specific conditions. Transformation is used in the network-graphs sense of the word. It fits the beginning of the document where it says this:

  The diffcore mechanism is fed a list of such comparison results
  (each of which is called "filepair", although at this point each
  of them talks about a single file), and transforms such a list
  into another list.  There are currently 5 such transformations:
  - diffcore-break
  - diffcore-rename
  - diffcore-merge-broken
  - diffcore-pickaxe
  - diffcore-order
Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 8 of 10 in “Improve diffcore-pickaxe documentation”
  1. 0/2 Improve diffcore-pickaxe documentationRamkumar Ramachandra, May 17, 2013
  2. 1/2 diffcore-pickaxe: make error messages more consistentRamkumar Ramachandra, May 17, 2013
  3. Junio C HamanoMay 18, 2013
  4. 2/2 diffcore-pickaxe doc: document -S and -G properlyRamkumar Ramachandra, May 17, 2013
  5. Junio C HamanoMay 18, 2013
  6. Junio C HamanoMay 19, 2013
  7. Ramkumar RamachandraMay 24, 2013
  8. Phil HordMay 24, 2013
  9. Ramkumar RamachandraMay 24, 2013
  10. Junio C HamanoMay 24, 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.