Re: git gc ineffective
- From
Michal Suchánek <msuchanek@suse.de>
- Date
- Nov 9, 2020, 10:17 UTC
- Message-ID
- <20201109101738.GW29778@kitsune.suse.cz>
- In-Reply-To
- <87361ilv1a.fsf@igel.home>
On Mon, Nov 09, 2020 at 10:49:21AM +0100, Andreas Schwab wrote:
Show 7 quoted lines
> On Nov 09 2020, Michal Suchánek wrote: > > > I noticed I am running out of disk space, and one repository taking up > > about 38G. Did git gc --aggressive, and the used space *raised* to 42G, > > and git would report it does gc after every commit. > > Do you have a lot of loose objects?
{ for i in .git/objects/?? ; do ls $i ; done ; } | wc -l 53392
Show 7 quoted lines
> > Andreas. > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 > "And now for something completely different."