Re: Funny error with git gc...
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 15, 2009, 18:10 UTC
- Message-ID
- <7vmy9etey8.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.1.00.0905152000520.4449@intel-tinevez-2-302>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 6 quoted lines
> if you need a chuckle, like me, you might appreciate this story: in one of > my repositories, "git gc" dies with > > unable to open object pack directory: ...: Too many open files > > turns out that there are a whopping 1088 packs in that repository...
Isn't it a more serious problem than a mere chuckle? How would one recover from such a situation (other than "mv .git/objects/pack-*; for p in pack-*.pack; do git unpack-objects <$p; done")?