HomePhabricator

Add a Herald pre-commit field for detecting LFS usage

Description

Add a Herald pre-commit field for detecting LFS usage

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.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T7789

Differential Revision: https://secure.phabricator.com/D18827

Details

Provenance
epriestleyAuthored on Dec 13 2017, 1:52 PM
epriestleyPushed on Dec 18 2017, 5:12 PM
Reviewer
amckinley
Differential Revision
D18827: Add a Herald pre-commit field for detecting LFS usage
Parents
rPe34b4bbd907e: Move the Git LFS gate to dedicated (non-prototype) config
Branches
Unknown
Tags
Unknown
Tasks
T7789: Support Git Large File Storage
Build Status
Buildable 18956
Build 25567: Run Core Tests