The last few days, each and every push to our git repository has caused auto-packing on the server.
The output on the client when this happens:
~pdr
Git decides whether to auto gc based on two criteria:
.idx
in .git/objects/pack
?)If for some reason Git is not able to merge the pack files or remove the loose objects in that directory, it will think it needs to auto-gc again next time.
I would check the contents of the two directories cited above to see if the (default) criteria are met and see if the criteria change after the re-packing.
Some reasons for failure to complete the process might be:
git config pack.packSizeLimit
which defaults to unlimited but may be overridden by the user)You should also ensure of course that the gc related tunable parameters haven't been set unreasonably by looking at:
git config -l | grep gc
For some other details, see the Git SCM book on Git Internals.