I\'m having a problem with my git repo. For the last couple of days whenever I do a push to the server I get this message: \"Auto packing the repository for optimum performa
While Jefroni is correct that sometimes the auto-packing just needs time to complete, if the auto-packing message persists over multiple days as OP describes, there's a good chance that git's cleanup is missing dangling objects, as described in this question.
To see whether dangling objects are triggering ongoing messages about auto-packing, try running git fsck. If you get a long list of dangling commits, you can clean them with
git gc --prune=now
I usually have to run this on my repo every 2-3 months when the auto-packing message doesn't go away after a single pull.