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

Re: [RFC PATCH] Option to allow cherry-pick to skip empty commits

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Jan 23, 2017, 20:05 UTC
Message-ID
<CAOxFTcxRjWS-=wyGBVOtg-tfCHrqqAr9rVOcvkyxXwJHonN_Tg@mail.gmail.com>
In-Reply-To
<xmqqd1fdtzgv.fsf@gitster.mtv.corp.google.com>
On Mon, Jan 23, 2017 at 7:15 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> Giuseppe Bilotta <giuseppe.bilotta@gmail.com> writes:
>
>> By the way, I noticed going over the code that the -allow options are
>> not stored, so that in case of interruption they will be reset, is
>> this intentional or a bug?
>
> I do not know offhand, but given the history of the two commands, I
> would guess it was a bug simply overlooked when people bolted "a
> series of commits" mode onto these commands that originally worked
> only on a single commit.

It seems like a bug to me. I'll prepare a new series that also fixes this. I still don't see how to force a complete reread of the index after running a git reset (which I need for the --skip command), but maybe I'll add a WIP of what I have for --skip so far and people can comment on that.

-- 
Giuseppe "Oblomov" Bilotta
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “Option to allow cherry-pick to skip empty commits”
  1. Option to allow cherry-pick to skip empty commitsGiuseppe Bilotta, Jan 21, 2017
  2. Junio C HamanoJan 22, 2017
  3. Giuseppe BilottaJan 23, 2017
  4. Junio C HamanoJan 23, 2017
  5. Giuseppe BilottaJan 23, 2017
  6. Junio C HamanoJan 23, 2017
  7. Giuseppe BilottaJan 23, 2017

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.