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
Unknown Object (File)
Wed, Jul 8, 12:30 PM
Unknown Object (File)
Wed, Jul 8, 12:30 PM
Unknown Object (File)
Wed, Jul 8, 12:30 PM
Unknown Object (File)
Sat, Jul 4, 10:05 PM
Unknown Object (File)
Sat, Jul 4, 5:07 AM
Unknown Object (File)
Jun 19 2026, 11:01 PM
Unknown Object (File)
Apr 15 2026, 8:16 AM
Unknown Object (File)
Apr 5 2026, 10:43 PM
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