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

upgrade 2.18.0 to 2.37.2 question

From
LDLana Deere <lana.deere@gmail.com>
Date
Aug 31, 2022, 17:42 UTC
Message-ID
<CA+4x=b_eyETm6FM1-b_RMhUmCxm9OT0dZLjTciu13CUs6cccKg@mail.gmail.com>

I've built the latest version, 2.37.2 on my CentOS host and am trying it out to make sure it works before deploying it widely. I ran into an error I don't understand "Your configuration specifies to merge with the ref... but no such ref was fetched". Searching on the web turned up posts suggesting that it indicates the remote branch was deleted, but that is not the case here. I can pull using 2.18.0, just not with 2.37.2. Is there some configuration change which is needed to switch between the old and the new version of git?

Here's an example:
$ /re/tools/linux-x86_64/opensrc/git/2.18.0/bin/git pull
From http://githost:7990/scm/dp/d2s_sw
 * branch                  feature/switch-to-qt5 -> FETCH_HEAD
Already up to date.

$ /re/tools/linux-x86_64/opensrc/git/2.37.2/bin/git pull Your configuration specifies to merge with the ref 'refs/heads/feature/switch-to-qt5' from the remote, but no such ref was fetched.

.. Lana (lana.deere@gmail.com)
Message 1 of 1 in “upgrade 2.18.0 to 2.37.2 question”
  1. Lana DeereAug 31, 2022

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.