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

Re: jc/fix-pull-ff-only-when-already-up-to-date, was Re: What's cooking in git.git (Nov 2021, #03; Tue, 9)

From
Alex Henrie <alexhenrie24@gmail.com>
Date
Nov 10, 2021, 19:00 UTC
Message-ID
<CAMMLpeS3Lerps8ioO7Ap=Cs29dDssp5F-KgvENkN5qDg+tZXxQ@mail.gmail.com>
In-Reply-To
<xmqqpmr8x6zn.fsf@gitster.g>
On Wed, Nov 10, 2021 at 10:21 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 24 quoted lines
>
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> > On Tue, 9 Nov 2021, Junio C Hamano wrote:
> >
> >> * jc/fix-pull-ff-only-when-already-up-to-date (2021-10-29) 1 commit
> >>   (merged to 'next' on 2021-10-29 at ad4753e668)
> >>  + pull: --ff-only should make it a noop when already-up-to-date
> >>
> >>  "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.
> >>
> >>  Will cook in 'next'.
> >
> > I would like to register a vote for advancing this into v2.34.0,
> > still.
>
> I didn't recall I did it as a regression fix, but as a fix for
> relatively old change that is already in released version(s) in the
> field.  If the breakage is new between 2.33.0 and 'master', I think
> it is a good idea to merge it down.

For what it's worth, I also consider this to be a (small) regression introduced in 2.33.0. So I'd also like to vote for fixing it in 2.34.

-Alex
Previous: Junio C HamanoNext: Johannes Schindelin
Message 8 of 15 in “What's cooking in git.git (Nov 2021, #03; Tue, 9)”
  1. Junio C HamanoNov 10, 2021
  2. js/scalar, was Re: What's cooking in git.git (Nov 2021, #03; Tue, 9)Johannes Schindelin, Nov 10, 2021
  3. Ævar Arnfjörð BjarmasonNov 10, 2021
  4. Junio C HamanoNov 11, 2021
  5. Johannes SchindelinNov 12, 2021
  6. jc/fix-pull-ff-only-when-already-up-to-date, was Re: What's cooking in git.git (Nov 2021, #03; Tue, 9)Johannes Schindelin, Nov 10, 2021
  7. Junio C HamanoNov 10, 2021
  8. Alex HenrieNov 10, 2021
  9. Johannes SchindelinNov 10, 2021
  10. Junio C HamanoNov 10, 2021
  11. Emily ShafferNov 11, 2021
  12. Emily ShafferNov 11, 2021
  13. Junio C HamanoNov 11, 2021
  14. Glen ChooNov 11, 2021
  15. ab/config-based-hooks-2 etc. (was: What's cooking in git.git (Nov 2021, #03; Tue, 9))Ævar Arnfjörð Bjarmason, Nov 13, 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.