HomePhabricator

Do the heavy lifting for git commit hooks

Description

Do the heavy lifting for git commit hooks

Summary:
Ref T4189. This doesn't add any rules yet, but does all the heavy lifting to figure out what's changed and put it in a consuamble (if somewhat ad-hoc) datastructure, which lists all the ref and tag modifications and all the new commits in a consistent way.

From here, it should be fairly straightforward to add top-level rules (e.g., ff pushes only).

Test Plan: Output is huge, see comments.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4189

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

Details

Provenance
epriestleyAuthored on Dec 3 2013, 6:27 PM
Reviewer
btrahan
Differential Revision
D7687: Do the heavy lifting for git commit hooks
Parents
rP9942c2a39ee1: Add Action Buttons to ObjectHeaders
Branches
Unknown
Tags
Unknown
Tasks
T4189: Install commit hooks in hosted repositories

Event Timeline