[Insight-developers] GIT : hook declined: size 1435 KB, greater than the maximum 1024 KB

Brad King brad.king at kitware.com
Wed Aug 25 12:10:33 EDT 2010


On 08/25/2010 09:56 AM, Mathieu Malaterre wrote:
> On Wed, Aug 25, 2010 at 3:28 PM, Brad King <brad.king at kitware.com> wrote:
>> I've taught the server-side hook to have custom limits on a per-type
>> basis.  Now .c files can be up to 3MB and .cxx files can be up to 2MB.
>> If this still proves too limiting we can make the limits bigger for
>> specific file types while still enforcing it overall.
> 
> The client-side has not been updated AFAIK:

Like I said, I taught the *server-side* hooks to do this ;)

> $ git fetch origin
> $ cd .git/hooks
> $ git pull .. remotes/origin/hooks
> $ cd ../..
> 
> The path 'Utilities/gdcm/Source/DataDictionary/gdcmDefaultDicts.cxx'
> has size 1043 KiB, greater than the maximum 1024 KiB.
> Run "git config hooks.MaxObjectKiB $KiB" to set local limit, 0 to disable.
> The path 'Utilities/gdcm/Source/InformationObjectDefinition/Part3.xml'
> has size 2277 KiB, greater than the maximum 1024 KiB.
> Run "git config hooks.MaxObjectKiB $KiB" to set local limit, 0 to disable.

I just pushed out changes to the client-side hooks for the same thing.

-Brad


More information about the Insight-developers mailing list