Re: bug? git push triggers auto pack when gc.auto = 0
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Feb 4, 2014, 02:41 UTC
- Message-ID
- <CACsJy8Bo4XgA-g2hy+_pVEKLnerL9WNhpWe==zJANmCMdGXuow@mail.gmail.com>
- In-Reply-To
- <loom.20140204T030158-758@post.gmane.org>
On Tue, Feb 4, 2014 at 9:20 AM, chris <jugg@hotmail.com> wrote:
Show 7 quoted lines
> $ git push origin next > Counting objects: 56, done. > Delta compression using up to 4 threads. > Compressing objects: 100% (9/9), done. > Writing objects: 100% (9/9), 895 bytes | 0 bytes/s, done. > Total 9 (delta 8), reused 0 (delta 0) > Auto packing the repository for optimum performance.
This string only appears in versions before 1.8.0. It's longer after 1.8.0.
Show 8 quoted lines
> To ssh://git@my.server.com/my_project > 3560275..f508080 next -> next > $ git config gc.auto > 0 > $ git config gc.autopacklimit > 0 > $ git --version > git version 1.8.5.3
but your client is after 1.8.0 so the string printed above is from the server side. "git config gc.auto" here does not matter. Run that command again on my.server.com.
> So my question is, should gc.auto = 0 disable auto-packing from occurring on > git push and other non-gc commands?
Yes it should.
-- Duy