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

Re: Change in behaviour in git fetch between 2.18.0 and 2.18.0.547.g1d89318c48

From
Jeff King <peff@peff.net>
Date
Aug 10, 2018, 18:12 UTC
Message-ID
<20180810181205.GA7516@sigill.intra.peff.net>
In-Reply-To
<CACoUkn5wXY7924hftXhCXh_N_htWoiaGEV5f7ZEM4-PE57_1oA@mail.gmail.com>
On Fri, Aug 10, 2018 at 07:04:08PM +0100, Paul Jolly wrote:
Show 13 quoted lines
> I've tried to skim through the archive, but I couldn't find anything
> that describes what I'm seeing. Apologies if that's because I missed
> something/used the wrong search terms, or this is an intentional
> change in behaviour.
> 
> Using 2.18.0.547.g1d89318c48, git fetch behaves differently to 2.18.0.
> 
> The scenario in which I'm seeing a difference in behaviour is when
> there are (by virtue of the state of my local git repo and the origin,
> remote) pending objects, branch updates etc to fetch from the remote.
> [...]
> Indeed only if I repeat git fetch with 2.18.0.547.g1d89318c48 do I see
> the update to origin/master:
I think this is the bug from:
  https://public-inbox.org/git/20180729121900.GA16770@sigill.intra.peff.net/

The fix is in e2842b39f4 (fetch-pack: unify ref in and out param, 2018-08-01), and is currently in the 'next' branch, and marked for merging to master in the next integration cycle.

-Peff
Previous: Paul JollyNext: Paul Jolly
Message 2 of 3 in “Change in behaviour in git fetch between 2.18.0 and 2.18.0.547.g1d89318c48”
  1. Paul JollyAug 10, 2018
  2. Jeff KingAug 10, 2018
  3. Paul JollyAug 10, 2018

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.