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
Unknown Object (File)
Fri, Apr 12, 12:55 AM
Unknown Object (File)
Sat, Apr 6, 6:38 AM
Unknown Object (File)
Sat, Apr 6, 6:38 AM
Unknown Object (File)
Sat, Apr 6, 6:02 AM
Unknown Object (File)
Sat, Apr 6, 5:41 AM
Unknown Object (File)
Thu, Mar 28, 5:23 AM
Unknown Object (File)
Mar 12 2024, 1:11 AM
Unknown Object (File)
Mar 12 2024, 1:11 AM
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