Re: basics... when reading docs doesn't help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 29 Mar 2007, Linus Torvalds wrote:

> On Fri, 30 Mar 2007, Guennadi Liakhovetski wrote:
> 
> > Strange. Is my git 1.4.0 criminally broken? I have a clone of Linus' tree 
> > on a USB disk on ext3 without any objects, which I just cloned at some 
> > point and then did a couple of pulls from the same source. Now
> > 
> > 1545084 /mnt/sda2/kernel-git/linux-2.6/
> > 1255084 /mnt/sda2/kernel-git/linux-2.6/.git
> 
> The old git that always exploded all pulls and generated lots of loose 
> objects? You can check with "git count-objects".

Installed 1.5.0.6 and its output of "git count-objects" is

180932 objects, 1112656 kilobytes

git gc removed everything (uh?) and then

linux-2.6$ du -ks .git
183040  .git

cool...

> And to fix it, just do a "git gc" (or with older git versions, the secret 
> handshake is just a simple "git repack -a -d").
> 
> > But that's a freshly cloned tree, without any pulls. I re-cloned it, 
> > because the tree I had earlier had the problem with each pull:
> > 
> > Unpacking 12452 objects
> >  100% (12452/12452) done
> > * refs/heads/origin: does not fast forward to branch 'master' of 
> > git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc;
> >   not updating.
> 
> Sounds like either Paul re-based his tree, or you did some work on your 
> "origin" branch..

It must be the former then:-) Did I have a chance to re-synchronize 
locally to be able to pull normally again or was the only way to re-clone?

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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]