From: Ævar Arnfjörð Bjarmason Date: Sun, 15 May 2011 21:52:10 GMT Subject: Re: [PATCHv3 0/9] Push limits Message-ID: In-Reply-To: <1305495440-30836-1-git-send-email-johan@herland.net> On Sun, May 15, 2011 at 23:37, Johan Herland wrote: > Here's the next iteration of what started out as a simple patch to let > the server refuse pushes that exceeded a configurable limit on the > #objects in a pack. > > The current patch series allows limiting pushes by >  - size of pack >  - #objects in pack >  - #commits in pack FWIW I'd find this very useful. I recently spent a fair amount of time cleaning up the mess created by a user pushing all the tags from repository A to repository B (don't ask), the options you've implemented here would have stopped that. And as you point out even if you refuse these sort of things with a hook (which I later implemented) that doesn't stop the server from accepting the objects and keeping them around.