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

Re: Add --rebase option to git-pull?

From
TCTom Clarke <tom@u2i.com>
Date
Aug 30, 2007, 13:17 UTC
Message-ID
<550f9510708300617y69352a67r818000273c25ce11@mail.gmail.com>
In-Reply-To
<46D6C12A.5090705@op5.se>
On 8/30/07, Andreas Ericsson <ae@op5.se> wrote:
Show 5 quoted lines
> If I read the patch correctly (which I may not, ofcourse), you're
> rebasing the upstream changes to on top of your own work. That's
> not something you can readily do, since the parentage chain in
> git is supposed to be immutable, so mutating the one you get from
> an already published source would be a horribly bad idea indeed.

It's intended to (and appears to) rebase on top of $merge_head, which would typically be something like origin/master or origin/topics/my_topic or something. I just noticed I don't need the $strategy_args which might be confusing.

> If that's what the patch does, then I guess all is fine and dandy,
> although I think it'd be better to add the merge-strategy rebase
> or possibly rebase-ours or rebase-theirs, which can be given as
> arguments to git-pull.
Ok, makes sense.
-Tom
Previous: Andreas EricssonNext: Johannes Schindelin
Message 3 of 11 in “Add --rebase option to git-pull?”
  1. Tom ClarkeAug 30, 2007
  2. Andreas EricssonAug 30, 2007
  3. Tom ClarkeAug 30, 2007
  4. Johannes SchindelinAug 30, 2007
  5. Tom ClarkeAug 30, 2007
  6. Johannes SchindelinAug 30, 2007
  7. Tom ClarkeAug 30, 2007
  8. Jakub NarebskiAug 30, 2007
  9. Alex RiesenAug 30, 2007
  10. Tom ClarkeAug 30, 2007
  11. Tom ClarkeAug 30, 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.