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

David Cole david.cole at kitware.com
Wed Aug 25 06:39:45 EDT 2010


Could we go so far as to adjust the hook such that if the object looks
"text-ish" that there is no size limit...?

Is that possible?

The reason for the size limit is to prevent arbitrarily large, largely
incompressible *binary* objects from getting into the git objects database,
but the only people who have run into it so far are simply trying to commit
the first version of a very large text file. (Usually one that they didn't
write, and usually for a file that will not be heavily modified moving
forward anyhow, to the best of our ability to predict the future....)


Thanks,
Dave


On Wed, Aug 25, 2010 at 5:18 AM, Mathieu Malaterre <
mathieu.malaterre at gmail.com> wrote:

> Hi,
>
>  I am trying to push GDCM to ITK master. However the push fails with:
>
> Total 845 (delta 295), reused 0 (delta 0)
> ----------------------------------------------------------------------
> commit b6b11b72 creates blob b5133c32 at path
>  Utilities/gdcm/Source/DataDictionary/gdcmDefaultDicts.cxx
> with size 1435 KB, greater than the maximum 1024 KB
> ----------------------------------------------------------------------
> error: hook declined to update refs/heads/master
>
>  Would it be possible to change the maximum to be a little more
> tolerant (eg.  2028 KB) ?
>
> Thanks !
> --
> Mathieu
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100825/65b4a530/attachment.htm>


More information about the Insight-developers mailing list