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

Re: git pull --rebase differs in behavior from git fetch + git rebase

From
Joshua Jensen <jjensen@workspacewhiz.com>
Date
Aug 28, 2010, 03:13 UTC
Message-ID
<4C787EBF.7010802@workspacewhiz.com>
In-Reply-To
<AANLkTimz4P3EGnZntQubL06ZqXREiDTDVk+fb9VVLDKN@mail.gmail.com>
  ----- Original Message -----
From: Elijah Newren
Date: 8/27/2010 8:40 PM
Show 5 quoted lines
> On Fri, Aug 27, 2010 at 8:06 PM, Joshua Jensen
> <jjensen@workspacewhiz.com>  wrote:
>> Okay, there is _not_ a problem with the patch in 1.7.2.2 for the "broken"
>> repository I have in front of me right now, but I wish I hadn't trashed the
>> other broken repository someone else had.  :(

As it turns out, the other broken repository exists still, but it will be Monday before I can test against the 1.7.2.2 change.

Show 6 quoted lines
>> Sorry for causing an issue, but I definitely appreciate the fix already
>> being available.
> Not a problem; it's totally understandable.  Believe me, I had a whole
> bunch of similar problems when trying to deal with this bug when
> people were hitting it at work (e.g. trying to duplicate by cloning,
> which never worked since the bug depended on reflog state).

Fortunately, I've worked with Git long enough now that I knew to direct copy the .git folder to the new location, 'git reset --hard' to get the files back, and hopefully then be in the same state.

> In any event, I'm glad it's working for you now.  :-)
Me, too.

Now, if only 'git rebase --preserve-merges' would work all the time and could be the default. (I have instances where a topic branch is merged back to master with --no-ff to generate the merge commit, an attempt is made to push but new commits have been added from others, so a pull --rebase is performed and ends up replaying the merge linearly... no merge commit... oh, well.)

Take care.
Josh
Previous: Elijah Newren
Message 10 of 10 in “git pull --rebase differs in behavior from git fetch + git rebase”
  1. Joshua JensenAug 27, 2010
  2. Santi BéjarAug 27, 2010
  3. Dave OlszewskiAug 27, 2010
  4. Joshua JensenAug 27, 2010
  5. Elijah NewrenAug 27, 2010
  6. Joshua JensenAug 27, 2010
  7. Elijah NewrenAug 27, 2010
  8. Joshua JensenAug 28, 2010
  9. Elijah NewrenAug 28, 2010
  10. Joshua JensenAug 28, 2010

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.