Re: bug? git push triggers auto pack when gc.auto = 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 4, 2014 at 9:20 AM, chris <jugg@xxxxxxxxxxx> wrote:
> $ 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.

> To ssh://git@xxxxxxxxxxxxx/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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]