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)
Thu, Jan 23, 5:49 PM
Unknown Object (File)
Wed, Jan 22, 4:13 AM
Unknown Object (File)
Tue, Jan 21, 1:58 PM
Unknown Object (File)
Tue, Jan 21, 9:03 AM
Unknown Object (File)
Sat, Jan 18, 6:25 PM
Unknown Object (File)
Wed, Jan 15, 2:21 AM
Unknown Object (File)
Fri, Jan 3, 10:04 AM
Unknown Object (File)
Dec 15 2024, 12:12 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