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)
Mon, Dec 30, 4:35 AM
Unknown Object (File)
Fri, Dec 27, 4:05 PM
Unknown Object (File)
Sat, Dec 14, 6:11 PM
Unknown Object (File)
Dec 7 2024, 5:26 PM
Unknown Object (File)
Dec 6 2024, 10:38 AM
Unknown Object (File)
Dec 2 2024, 5:46 AM
Unknown Object (File)
Dec 1 2024, 7:07 AM
Unknown Object (File)
Nov 26 2024, 6:51 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