Re: notify alternative to auto gc?

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

 



On Mon, Jun 28, 2010 at 11:58, Eric Raible <raible@xxxxxxxxx> wrote:
> Chris Packham <judge.packham <at> gmail.com> writes:
>
>> So a hook like
>>
>>   #! /bin/sh
>>   echo "repository needs git gc"
>>   exit 1
>>
>> Should cause the auto gc to be skipped.
>
> Except wouldn't you also need a mechanism
> to allow an explicit gc to actually proceed?
>

Only if you're explicitly calling "git gc --auto" instead of "git gc".
 That hook should only run for "git gc --auto".
--
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]