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

Re: "warning: no common commits" triggered due to change of remote's IP address?

From
Brent Goodrick <bgoodr@gmail.com>
Date
Mar 2, 2009, 16:43 UTC
Message-ID
<e38bce640903020843p4d7e20f8lbdfe980b34661bce@mail.gmail.com>
In-Reply-To
<200903020956.45975.trast@student.ethz.ch>
On Mon, Mar 2, 2009 at 12:56 AM, Thomas Rast <trast@student.ethz.ch> wrote:
> Actually this should name the remote's idea of the ref, i.e.,
>
>  git fetch-pack -v $url refs/heads/home 2>&1 \
>  | git name-rev --stdin

Sorry, but I had since done a git fetch from home using the local IP address before I realized that you would want to try more experiments on it. But that "local" git-fetch did not emit the "warning: no common commits" message and was fast. Maybe the majority of the fetch I had started at the Internet cafe but terminated had done a lion share of the work already, and the speedy local fetch finished up the leftovers.

But for completeness sake, I did as you said on the now (mostly) up to date repo:

  git fetch-pack -v <remote_ip_address>:git.repos/environ.git
refs/heads/home 2>&1 \
   | git name-rev --stdin
  Server supports multi_ack
  Server supports side-band-64k
  Marking 67cb0521a93778a9d9c4d8f4608f2c6c796a7558 (home) as complete
  already have 67cb0521a93778a9d9c4d8f4608f2c6c796a7558 (home) (refs/heads/home)
  67cb0521a93778a9d9c4d8f4608f2c6c796a7558 (home) refs/heads/home

where <remote_ip_address> is the remote IP address, and not the usual local IP address that is referenced in .git/config.

What does "Marking ... as complete" mean?

Is the git-fetch-pack method shown above the only way to get a report of what git finds out of date? Seems that git-fetch-pack actually downloads objects, instead of just reporting what it would do without actually doing it.

Brent
Previous: Thomas Rast
Message 6 of 6 in “"warning: no common commits" triggered due to change of remote's IP address?”
  1. Brent GoodrickMar 1, 2009
  2. Thomas RastMar 1, 2009
  3. Brent GoodrickMar 1, 2009
  4. Thomas RastMar 2, 2009
  5. Thomas RastMar 2, 2009
  6. Brent GoodrickMar 2, 2009

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.