Page MenuHomePhabricator

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

Authored by epriestley on Dec 13 2017, 1:59 PM.

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