Page MenuHomePhabricator

Apply "enormous changes" rules to pre-commit content rules too
ClosedPublic

Authored by epriestley on Jan 3 2014, 9:33 PM.
Tags
None
Referenced Files
F18904659: D7887.diff
Sat, Nov 8, 10:26 AM
F18851898: D7887.id.diff
Fri, Oct 31, 5:03 AM
F18849925: D7887.diff
Oct 30 2025, 1:10 PM
F18782533: D7887.id.diff
Oct 13 2025, 1:52 AM
F18771115: D7887.id17846.diff
Oct 8 2025, 5:42 PM
F18740927: D7887.id17866.diff
Oct 2 2025, 7:02 AM
F18694004: D7887.diff
Sep 27 2025, 2:16 AM
F18675615: D7887.diff
Sep 25 2025, 5:55 PM
Subscribers

Details

Summary

Fixes T4276. This adds "Change is enormous" to pre-commit content rules so we can, e.g., just reject these and not worry about them elsewhere.

Also, use the same numeric limits across the mechanisms so there's a consistent definition of an "enormous" changeset.

Test Plan
  • Set enormous limit to 15 bytes, pushed some changes, got blocked by a rule.
  • Set it back, pushed OK.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped