Comment 11 for bug 1232304

Revision history for this message
Mark Ramm (mark-ramm) wrote : Re: consider tuning git setup for juju-core, and document caveats

I may be remembering incorrectly but I also think we are calling git commit after every hook, causing some un-bounded growth patterns, even on non "fat" charms. One quick and dirty solution would be to check

    git diff

and only do commits if there is anything in the result.