"There are too many unreachable loose objects" - why don't we run 'git prune' automatically?
- From
Lars Schneider <larsxschneider@gmail.com>
- Date
- Jun 8, 2017, 12:45 UTC
- Message-ID
- <9C2F2EA2-0C59-4EA2-8C8E-10228FB82D90@gmail.com>
Hi,
I recently ran into "There are too many unreachable loose objects; run 'git prune' to remove them." after a "Auto packing the repository in background for optimum performance." message.
This was introduced with a087cc9 "git-gc --auto: protect ourselves from accumulated cruft" but I don't understand the commit message really.
Why don't we call 'git prune' automatically? I though Git would prune unreachable objects after 90 days by default anyways. Is the warning about unreachable objects that are not yet 90 days old?
Thanks, Lars