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
F18766822: D18827.id.diff
Tue, Oct 7, 6:45 PM
F18710870: D18827.diff
Mon, Sep 29, 3:02 AM
F18698644: D18827.diff
Sat, Sep 27, 11:39 AM
F18698549: D18827.diff
Sat, Sep 27, 11:30 AM
F18693749: D18827.diff
Sat, Sep 27, 1:45 AM
F18693597: D18827.diff
Sat, Sep 27, 1:35 AM
F18672794: D18827.diff
Thu, Sep 25, 8:14 AM
F18670143: D18827.diff
Wed, Sep 24, 11:13 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