[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: Error "fatal: cannot pread pack file: Success"
From:       Nicolas Pitre <nico () cam ! org>
Date:       2007-02-28 19:40:25
Message-ID: alpine.LRH.0.82.0702281439410.29426 () xanadu ! home
[Download RAW message or body]

On Wed, 28 Feb 2007, Bill Lear wrote:

> On Wednesday, February 28, 2007 at 13:18:08 (-0600) Bill Lear writes:
> > 
> > % ls -l objects
> > total 88088
> > drwxr-xr-x  2 rael  software     4096 Feb 28 13:05 info/
> > drwxr-xr-x  2 rael  software     4096 Feb 28 13:05 pack/
> > -rw-------  1 rael  software 90099505 Feb 28 13:06 pack_eZwOnG
> 
> I should have added:
> 
> % ls -l ~/devel/fusion/.git/objects/pack/pack-fe532a54e5d549f1cfc70a4ab2c5f4eaac8897a5.pack
>                 
> -r--r--r--  1 rael software 90099525 Feb 27 21:36 \
> /home/rael/devel/project/.git/objects/pack/pack-fe532a54e5d549f1cfc70a4ab2c5f4eaac8897a5.pack
>  
> That's 20 bytes of difference.

That is actually OK.  This is the temporary pack file the fetch received 
but which final SHA1 has not been written yet.  Normally, after the 
delta resolution has finished (the part that requires the pread() calls) 
then the final SHA1 is written and the pack is moved to its final 
location under an appropriate name.  But in your case index-pack bailed 
out on the failing pread() and left its incomplete temporary pack there.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic