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

Re: [PATCH] RelNotes: fix a couple of typos for the upcoming release

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 11, 2021, 20:07 UTC
Message-ID
<xmqqbl2qlam4.fsf@gitster.g>
In-Reply-To
<CABPp-BETy2=J1jNsS_pPpby7Z1P0Yfp92eekMLRicaA=YCL8tQ@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 11 quoted lines
>> + * "git pull --ff-only" and "git pull --rebase --ff-only" should make
>> +   it a no-op to attempt pulling from a remote that is behind us, but
>> +   instead the command errored out by saying it was impossible to
>> +   fast-forward, which may technically be true, but not a useful thing
>> +   to diagnose as an error.  This has been corrected.
>> +   (merge 361cb52383 jc/fix-pull-ff-only-when-already-up-to-date later to maint).
>
> Is this worth calling out in the release notes?  I thought the
> discussion elsewhere on this list pointed out that this bug did not
> exist in v2.33 or before after all, but rather that it was a
> regression that was new to the v2.34 development cycle.

The fix itself (i.e. "git pull --ff-only --rebase" when faced with new development on the other side) has already been described in an earlier entry (the third one in "Fixes since v2.33" section) and is in both 2.33.1 and 2.34.0-rc2. The above entry is about what "git pull -ff-only -rebase" does when the other side lags behind us, which should be and used to be a no-op "already up-to-date" but the earlier fix broke it. It should be in 2.34 final, and if we were to issue 2.33.2 later, it should go there, too.

Previous: Elijah NewrenNext: Elijah Newren
Message 4 of 6 in “RelNotes: fix a couple of typos for the upcoming release”
  1. RelNotes: fix a couple of typos for the upcoming releaseJohannes Schindelin via GitGitGadget, Nov 10, 2021
  2. Junio C HamanoNov 11, 2021
  3. Elijah NewrenNov 11, 2021
  4. Junio C HamanoNov 11, 2021
  5. Elijah NewrenNov 11, 2021
  6. Junio C HamanoNov 11, 2021

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.