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

Re: [PATCH 3/3] cherry-pick --continue: remember options

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 14, 2019, 05:01 UTC
Message-ID
<xmqqimwm9hh5.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<nycvar.QRO.7.76.6.1903132344350.41@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 7 quoted lines
>> Remember --allow-empty, --allow-empty-message and
>> --keep-redundant-commits when cherry-pick stops for a conflict
>> resolution.
>> 
>> Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
>
> This whole patch series makes sense to me.

Yes, the changes look sensible (provided if it is the sensible goal to make --continue use the same set of options, that is).

> And it is especially nice that you make it easy to verify that there is a
> bug in the first place, by separating the concern of demonstrating it from
> the concern to fix it.

For a multi-patch series, breaking out the verification test out of the fixing patch is OK. It is a different story for a simple change that could be made in a single step to artificially separate the test into a separate step. An early "test_expect_failure" would not stop the test when applied to a different codebase as a standalone "does the breakage exist in this unrelated version?" even if the "test only" patch might appear easier to apply (as opposed to applying only the t/ part of the patch that expects success and seeing it actually fail).

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 10 in “sequencer: break some long lines”
  1. 1/3 sequencer: break some long linesPhillip Wood, Mar 13, 2019
  2. 2/3 cherry-pick: demonstrate option amnesiaPhillip Wood, Mar 13, 2019
  3. 3/3 cherry-pick --continue: remember optionsPhillip Wood, Mar 13, 2019
  4. Johannes SchindelinMar 13, 2019
  5. Junio C HamanoMar 14, 2019
  6. separating regression test patches from fixes, was Re: [PATCH 3/3] cherry-pick --continue: remember optionsJohannes Schindelin, Mar 14, 2019
  7. Duy NguyenMar 14, 2019
  8. Junio C HamanoMar 18, 2019
  9. Johannes SchindelinMar 21, 2019
  10. Junio C HamanoMar 18, 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.