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

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Dec 4 09:53:00 GMT 2014


On Dec  3 18:07, Dave Lindbergh wrote:
> On Wed, Dec 3, 2014 at 3:42 PM, Jason Pyeron <jpyeron@pdinc.us> wrote:
> > [copy off list, because the sourceware system admins throws temper tantrums]
> >> -----Original Message-----
> >> From: Dave L
> >> Sent: Wednesday, December 03, 2014 15:30
> >>
> >> ...but the git from github.com works fine.
> >>
> >> I installed Cygwin's version of git, and get this:
> >>
> >>     $ git clone https://github.com/nerdfever/pic32mx-bmf
> >>     Cloning into 'pic32mx-bmf'...
> >>     remote: Counting objects: 12, done.
> >>     remote: Total 12 (delta 0), reused 0 (delta 0)
> >>     error: failed to read delta-pack base object
> >>     300bdeb2fd209d24afb865584da10b78aa8fefc4
> >>     fatal: unpack-objects failed
> >
> > What file system are you on? Local NTFS or remote?
> 
> 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).

It works fine for me on a network drive mounted from another Windows
machine used via the cygdrive prefix:

  $ mount | grep cygdrive/z
  Z: on /cygdrive/z type ntfs (binary,posix=0,user,noumount,auto)
  $ cd /cygdrive/z
  $ git clone https://github.com/nerdfever/pic32mx-bmf
  Cloning into 'pic32mx-bmf'...
  remote: Counting objects: 12, done.
  remote: Total 12 (delta 0), reused 0 (delta 0)
  Unpacking objects: 100% (12/12), done.
  Checking connectivity... done.

I tried with two different mount points, one to a Cygwin-created remote
dir, one to a Windows-created remote dir.

> Is there a workaround? Why does this happen?

No idea.  How do you mount the drive, e.g., what does `mount' print for
the drive?  Or could this be a permission problem?  If all else fails
you could try to find out what happens via strace.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141204/ffc54482/attachment.sig>


More information about the Cygwin mailing list