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

Re: FW: [cygwin] Cygwin's git says "error: failed to read delta-pack base object"

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Dec 4, 2014, 00:54 UTC
Message-ID
<20141204005443.GB200195@vauxhall.crustytoothpaste.net>
In-Reply-To
<64C98FC352BD45EC9632202946A081E1@black>
On Wed, Dec 03, 2014 at 06:31:18PM -0500, Jason Pyeron wrote:
Show 19 quoted lines
> I remember hitting this a while ago, but just gave up.
> 
> It seems to be a problem for others too.
> 
> Any ideas on how to debug this so it can be patched?
> 
> -----Original Message-----
> From: Dave Lindbergh
> Sent: Wednesday, December 03, 2014 18:07
> To: cygwin
> 
> Aha - you're right.
> 
> It works fine on a local NTFS volume.
> 
> I get the error when I do it on Z:, which is mapped to a network drive
> (on another Windows box).
> 
> Is there a workaround? Why does this happen?

I don't think anyone is sure. My wild guess is that there's something about the way that Cygwin wraps Windows calls that makes it fail in this case. It might be interesting to run the Windows and Cygwin versions under an strace equivalent and see where things differ.

It's an interesting problem, but I don't have any Windows systems, so I can't look into it.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Previous: Jason PyeronNext: Jason Pyeron
Message 2 of 6 in “FW: [cygwin] Cygwin's git says "error: failed to read delta-pack base object"”
  1. Jason PyeronDec 3, 2014
  2. brian m. carlsonDec 4, 2014
  3. Jason PyeronDec 4, 2014
  4. Jason PyeronDec 5, 2014
  5. Jason PyeronDec 5, 2014
  6. Jason PyeronDec 7, 2014

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.