Page MenuHomePhabricator

Add a Herald pre-commit field for detecting LFS usage
ClosedPublic

Authored by epriestley on Dec 13 2017, 1:59 PM.
Tags
None
Referenced Files
F18853207: D18827.id.diff
Fri, Oct 31, 3:00 PM
F18848099: D18827.diff
Thu, Oct 30, 3:22 AM
F18839226: D18827.diff
Mon, Oct 27, 3:08 PM
F18798219: D18827.id45171.diff
Fri, Oct 17, 6:04 AM
F18766822: D18827.id.diff
Oct 7 2025, 6:45 PM
F18710870: D18827.diff
Sep 29 2025, 3:02 AM
F18698644: D18827.diff
Sep 27 2025, 11:39 AM
F18698549: D18827.diff
Sep 27 2025, 11:30 AM
Subscribers
None

Details

Summary

Depends on D18825. Ref T7789. See PHI131. Allows installs to selectively disable LFS by adding Herald rules to block commits that use LFS.

Test Plan
  • Wrote an LFS rule ("When commit uses git lfs, block commit").
  • Pushed an LFS commit: rejected.
  • Pushed a non-lFS commit: success.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable