This is the mail archive of the
overseers@sourceware.org
mailing list for the Sourceware project.
Re: git pack-objects run amok
Frank Ch. Eigler wrote:
>> You can reduce the effect of the requests that provoked that by
>> running "git gc" on repositories for which "git count-objects"
>> reports more than a few megabytes. [...]
>
> One problem we've encountered in the past when doing git gc/repack was
> corruption of the gcc-svn repository for gcc, so we've shied away from
> that.
Oh yeah... gcc:
sourceware$ cd /git/gcc.git && git count-objects
4414 objects, 119956 kilobytes
Being an svn convert and with 120MB of slop, it would
see a dramatic improvement.
I remember hearing about the corruption you had to deal with.
>From what I recall, that anecdote was already rather old when you
first mentioned it to me many months (even a year?) ago.
So it might have happened with a version of git from two or
more years ago. In git dev. terms, that's ancient.
What would convince you that it's no longer a problem?
Successful "git gc", a passed "git fsck" and enumeration and
comparison of all commits on all branches that people care about?