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

Re: Does extending `--empty` to git-cherry-pick make sense?

From
Brian Lyles <brianmlyles@gmail.com>
Date
Jan 5, 2024, 03:20 UTC
Message-ID
<CAHPHrSe51_y445m0Hn_SqdpwJNKLrKHKm3LzY=APG+QzBygt7w@mail.gmail.com>
In-Reply-To
<CABPp-BGJfvBhO_zEX8nLoa8WNsjmwvtZ2qOjmYm9iPoZg4SwPw@mail.gmail.com>
On Thu, Jan 4, 2024 at 8:28 PM Elijah Newren <newren@gmail.com> wrote:
Show 9 quoted lines
>
> I was indeed focused on simply getting the multiple rebase backends to
> have consistent behavior (we had like 4-5 backends at the time,
> right?) and just didn't consider cherry-pick at the time.  Now that
> those are more consistent (though there's still work to be done on
> that end too), cherry-pick and rebase really ought to share a lot more
> between each other, from command line flags, to temporary control
> files written, to more shared code paths.  Adding an --empty flag to
> cherry-pick as a step along the way makes sense.
I appreciate the insight from both of you.

It sounds like I'll be diving into some C code for the first time in over a decade, then! I'll plan to take a crack at this soon.

-Brian Lyles
Previous: Elijah Newren
Message 4 of 4 in “Does extending `--empty` to git-cherry-pick make sense?”
  1. Brian LylesJan 4, 2024
  2. Taylor BlauJan 4, 2024
  3. Elijah NewrenJan 5, 2024
  4. Brian LylesJan 5, 2024

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.