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

Re: [PATCH] Attempt to improve git-rebase lead-in description.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Feb 18, 2007, 06:31 UTC
Message-ID
<20070218063124.GA31350@spearce.org>
In-Reply-To
<er8d34$ssm$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> wrote:
Show 10 quoted lines
> Shawn O. Pearce wrote:
> > +
> > +The commits that were previously saved into the temporary area are
> > +then reapplied to the current branch, one by one, in order.
> 
> Which is true for git-format-patch/git-am --3way driven "git rebase",
> but not for git-merge driven "git rebase --merge".
> 
> The description is certainly more user-friendly, but I'd rather it avoid
> mentioning saving to temporary area.
[note: Jakub broke this thread and sent the message twice, once
 to me privately and again to the list.  I originally accidentally
 replied to Jakub's privately sent copy.]

Uhhh... go read the source for `git-rebase -m`. We still put the commits into a temporary area (.git/.dotest-merge), except we store just their SHA-1 and message rather than the patch. Its still a temporary area.

Even if we did not store the commits in a temporary area, they still are conceptually, as the ODB is storing them, and they aren't connected to a ref anymore, as the ref was reset.

My description is accurate, in either mode.
-- 
Shawn.
Previous: Jakub Narebski
Message 3 of 3 in “Attempt to improve git-rebase lead-in description.”
  1. Attempt to improve git-rebase lead-in description.Shawn O. Pearce, Feb 17, 2007
  2. Jakub NarebskiFeb 18, 2007
  3. Shawn O. PearceFeb 18, 2007

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.