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

Re: [PATCH v4 0/10] Long names for `git log -S` and `git log -G`

From
Illia Bobyr <illia.bobyr@gmail.com>
Date
Feb 12, 2025, 03:28 UTC
Message-ID
<ceab16cd-1b26-453c-a326-d76f16b35814@gmail.com>
In-Reply-To
<xmqqwmdwxsmz.fsf@gitster.g>
On 2/11/25 10:07, Junio C Hamano wrote:
 > Illia Bobyr <illia.bobyr@gmail.com> writes:
 >
 >> I've split the big change from v3 [1] into multiple, mostly 
independent patches
 >> to make it easier to review and merge each one separately.
 >>
 >> [1] 
https://lore.kernel.org/git/20250206014324.1839232-1-illia.bobyr@gmail.com/
 >>
 >> Patches 1 through 4 are fixing minor bugs and inconsistencies.
 >>
 >> Patch 5 contains updates gitdiffcore to use same placeholder names 
as the rest
 >> of the code.
 >>
 >> Patch 6 contains a minimum change to add long versions of -S and -G.
 >>
 >> Patch 7 adds bash completion support.
 >>
 >> Patches 8 through 10 increase usage of the long argument versions in 
tests, CLI
 >> help and docs respectively.
 >>
 >> Please, let me know if you prefer it split in a different way, or 
reorder the
 >> changes.
 >
 > When you base your patch on a different base than 'master' (or if
 > the previous iteration of the topic has already been queued in my
 > tree, then the commit used as the base to queue the topic), please
 > make sure you state it clearly.
 >
 > This iteration seems to apply on none of bc204b74 (The seventh
 > batch, 2025-02-03), on top of which the previous round dcc02caba2
 > (ib/diff-S-G-with-longhand) has been queued, or any of the recent
 > tips of 'master', like 388218fa (The ninth batch, 2025-02-10) or
 > 9520f7d9 (The eighth batch, 2025-02-06), so I cannot look at it.

Sorry for the confusion.  I randomly decided to check if my changes have any conflicts with `next` and rebased on top of it. Did not realize it would affect the patches. I've rebased back on top of `master` and published as v5.

 >> I was not sure if I should include a reference to the previous 
version of the
 >> patch into the next reroll.  It seems that
 >> `Documentation/MyFirstContribution.adoc` suggests so. But it creates 
very long
 >> threads.  And I've noticed that not everyone is doing it.
 >
 > Almost everybody does so, actually.
 >
 > Taking a topic that has 5 iterations, each about ~20 patches, as an
 > example:
 >
 > 
https://lore.kernel.org/git/20250207-pks-reftable-drop-git-compat-util-v5-0-ba2adc79110f@pks.im/
 >
 > it is perfectly clear and easy to nagivate from the list of messages
 > what discussions we had in previous iterations.

Thank you for the explanation and for sharing an example link. I'll use v3 cover letter as a reference point for v5, as I have already interrupted the reference chain in v3.

 >> Reply to review notes ...
 >
 > It is more customary to Reply-all directly to review messages,
 > instead of sending new round of patches.  When the cover letter of a
 > new iteration is sent as a response to the cover letter of the
 > previous iteration, readers can find the previous discussion
 > messages.

Got it.  Thank you.  I have replied to your review email, so that we can continue the conversation there.

Previous: Junio C HamanoNext: Illia Bobyr
Message 9 of 36 in “Long names for `git log -S` and `git log -G`”
  1. 0/1 Long names for `git log -S` and `git log -G`Illia Bobyr, Feb 6, 2025
  2. 1/1 diff: --patch-{modifies,grep} arg names for -S and -GIllia Bobyr, Feb 6, 2025
  3. Junio C HamanoFeb 6, 2025
  4. Illia BobyrFeb 12, 2025
  5. Junio C HamanoFeb 12, 2025
  6. Junio C HamanoFeb 6, 2025
  7. 0/10 Long names for `git log -S` and `git log -G`Illia Bobyr, Feb 11, 2025
  8. Junio C HamanoFeb 11, 2025
  9. Illia BobyrFeb 12, 2025
  10. 01/10 t/t4209-log-pickaxe: Naming typo: -G takes a regexIllia Bobyr, Feb 11, 2025
  11. 02/10 diff: -G description: Correct copy/paste errorIllia Bobyr, Feb 11, 2025
  12. 03/10 diff: short help: Correct -S descriptionIllia Bobyr, Feb 11, 2025
  13. 04/10 diff: short help: Add -G and --pickaxe-grepIllia Bobyr, Feb 11, 2025
  14. 05/10 docs: gitdiffcore: -G and -S: Use regex/string placeholdersIllia Bobyr, Feb 11, 2025
  15. 06/10 diff: --patch-{grep,modifies} arg names for -G and -SIllia Bobyr, Feb 11, 2025
  16. 07/10 completion: Support --patch-{grep,modifies}Illia Bobyr, Feb 11, 2025
  17. 08/10 diff: test: Use --patch-{grep,modifies} over -G/-SIllia Bobyr, Feb 11, 2025
  18. 09/10 diff: --pickaxe-{all,regex} help: Add --patch-{grep,modifies}Illia Bobyr, Feb 11, 2025
  19. 10/10 diff: docs: Use --patch-{grep,modifies} over -G/-SIllia Bobyr, Feb 11, 2025
  20. 00/10 Long names for `git log -S` and `git log -G`Illia Bobyr, Feb 12, 2025
  21. 01/10 t/t4209-log-pickaxe: Naming typo: -G takes a regexIllia Bobyr, Feb 12, 2025
  22. Junio C HamanoFeb 13, 2025
  23. 02/10 diff: -G description: Correct copy/paste errorIllia Bobyr, Feb 12, 2025
  24. Junio C HamanoFeb 13, 2025
  25. 04/10 diff: short help: Add -G and --pickaxe-grepIllia Bobyr, Feb 12, 2025
  26. 03/10 diff: short help: Correct -S descriptionIllia Bobyr, Feb 12, 2025
  27. Junio C HamanoFeb 13, 2025
  28. 05/10 docs: gitdiffcore: -G and -S: Use regex/string placeholdersIllia Bobyr, Feb 12, 2025
  29. Junio C HamanoFeb 13, 2025
  30. 06/10 diff: --patch-{grep,modifies} arg names for -G and -SIllia Bobyr, Feb 12, 2025
  31. Junio C HamanoFeb 13, 2025
  32. 07/10 completion: Support --patch-{grep,modifies}Illia Bobyr, Feb 12, 2025
  33. Junio C HamanoFeb 13, 2025
  34. 08/10 diff: test: Use --patch-{grep,modifies} over -G/-SIllia Bobyr, Feb 12, 2025
  35. 09/10 diff: --pickaxe-{all,regex} help: Add --patch-{grep,modifies}Illia Bobyr, Feb 12, 2025
  36. 10/10 diff: docs: Use --patch-{grep,modifies} over -G/-SIllia Bobyr, Feb 12, 2025

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.