Re: [PATCHv3 0/9] Push limits
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- May 15, 2011, 21:52 UTC
- Message-ID
- <BANLkTi=yKYw+kyPBPHSB6QfpjDqOi+WOmg@mail.gmail.com>
- In-Reply-To
- <1305495440-30836-1-git-send-email-johan@herland.net>
On Sun, May 15, 2011 at 23:37, Johan Herland <johan@herland.net> wrote:
Show 8 quoted lines
> 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.