From 76efca13092ba245caf15f232f467e68fa1f73ed Mon Sep 17 00:00:00 2001 From: Ori Rawlings Date: Wed, 23 Aug 2017 21:37:49 -0500 Subject: Add sideband support for push --- plumbing/protocol/packp/updreq.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plumbing/protocol') diff --git a/plumbing/protocol/packp/updreq.go b/plumbing/protocol/packp/updreq.go index b246613..73be117 100644 --- a/plumbing/protocol/packp/updreq.go +++ b/plumbing/protocol/packp/updreq.go @@ -6,6 +6,7 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing" "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" ) var ( @@ -21,6 +22,9 @@ type ReferenceUpdateRequest struct { Shallow *plumbing.Hash // Packfile contains an optional packfile reader. Packfile io.ReadCloser + + // Progress receives sideband progress messages from the server + Progress sideband.Progress } // New returns a pointer to a new ReferenceUpdateRequest value. -- cgit