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

Re: git-fetch fails with error code 128

From
APAndy Parkins <andyparkins@gmail.com>
Date
Dec 16, 2006, 22:12 UTC
Message-ID
<200612162212.57771.andyparkins@gmail.com>
In-Reply-To
<7vy7p8omdh.fsf@assigned-by-dhcp.cox.net>
On Friday 2006, December 15 21:55, Junio C Hamano wrote:
> Thanks --- very much appreciated.  When it comes to
> inter-repository object transfer, we take compatibility very
> seriously.

Okay. Before I started bisecting I thought I'd do some other experiments. Having tested fetch from remote and a fetch from local and finding the same results, I've done all the tests locally.

So; here goes.  I've got these directories:
 linux-partial/   (this is every patch from v1.0.0 to v2.1.63)
 linux-full/      (this is every patch from v1.0.0 to v2.5.75)

linux-partial/ is the one I reported the original error on, later I confirmed that the same error happened with a local fetch from linux-full. I cloned both of these.

 linux-partial-clone/  (made with git clone linux-partial linux-partial-clone)
 linux-full-clone/     (made with git clone linux-full linux-full-clone)
Tests:
 - A fetch from linux-full to linux-partial, this one failed with error 128
 - A fetch from linux-full-clone to linux-partial, this one failed with
   error 128
 - A fetch from linux-full to linux-partial-clone, this one succeeded
 - A fetch from linux-full-clone to linux-partial-clone, this one succeeded
   (unsurprisingly)
Next I ran git-prune in linux-partial.  The fetch then succeeded.  Bizarre.

So, the strange result is that it is a difference in the destination directory that is triggering the error, and whatever that fault is is fixed by git-cloning that destination repository, or git-pruning the destination.

Unfortunately I've now lost my test case, because the prune fixed it. Bah. Oh well, this fault can be marked "on hold until I get it to fail again".

Andy
-- 
Dr Andrew Parkins, M Eng (Hons), AMIEE
Previous: Andy ParkinsNext: Nicolas Pitre
Message 9 of 10 in “git-fetch fails with error code 128”
  1. Andy ParkinsDec 14, 2006
  2. Shawn PearceDec 14, 2006
  3. Junio C HamanoDec 15, 2006
  4. Andy ParkinsDec 15, 2006
  5. Junio C HamanoDec 15, 2006
  6. Nicolas PitreDec 15, 2006
  7. Junio C HamanoDec 16, 2006
  8. Andy ParkinsDec 16, 2006
  9. Andy ParkinsDec 16, 2006
  10. Nicolas PitreDec 15, 2006

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.