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

Re: [PATCH] rebase [--onto O] A B: omit needless checkout

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 20, 2008, 07:53 UTC
Message-ID
<7vlk4dygpu.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<47E21510.6020009@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
> But given how intrusive the patch is ("just to remove an unnecessary
> checkout"), I'd say this is post-1.5.5 material. Also, the fact that you
> had to post a fix-up is an indication that there are probably a number of
> corner cases that need an extended testing period.

The fixup came from a real-world corner case. I actually do fairly esoteric varieties of rebases all the time, starting with my HEAD detached, rebasing --onto a non-branch, explicitly stating where the bottom is, etc, etc.

Although I am comfortable enough with the patch itself to queue it in 'next' for my daily use, I do not intend it for 1.5.5 at all. The merge window is a discipline, a line must be drawn somewhere, and when the line is drawn, it must be honoured.

Previous: Johannes Sixt
Message 10 of 10 in “optimized checkout+rebase?”
  1. Ralf WildenhuesMar 12, 2008
  2. Johannes SixtMar 13, 2008
  3. Ralf WildenhuesMar 15, 2008
  4. rebase [--onto O] A B: omit needless checkoutJunio C Hamano, Mar 15, 2008
  5. Ralf WildenhuesMar 15, 2008
  6. Junio C HamanoMar 16, 2008
  7. Johannes SixtMar 19, 2008
  8. Junio C HamanoMar 19, 2008
  9. Johannes SixtMar 20, 2008
  10. Junio C HamanoMar 20, 2008

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.