HomePhabricator

Add an optional protocol log to `git` SSH workflows

Description

Add an optional protocol log to git SSH workflows

Summary:
Ref T8093. Support dumping the protocol bytes to a side channel logfile, as a precursor to parsing the protocol and rewriting protocol frames to virtualize refs.

The protocol itself is mostly ASCII text so the raw protocol bytes are pretty comprehensible.

Test Plan:

Screen Shot 2019-04-08 at 7.09.34 AM.png (1×3 px, 567 KB)

Screen Shot 2019-04-08 at 7.12.04 AM.png (1×3 px, 557 KB)

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T8093

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