aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-09-01 17:28:42 +0200
committerGitHub <noreply@github.com>2017-09-01 17:28:42 +0200
commitc20028f6a4d0038d59898392aafe13baa9e84040 (patch)
tree49407f8b3b5aaef1c6a56363bdb1fc25cd56f5cb /options.go
parent8ce9f5f240730ce21f50e42409d17fac7d71e051 (diff)
parent76efca13092ba245caf15f232f467e68fa1f73ed (diff)
downloadgo-git-c20028f6a4d0038d59898392aafe13baa9e84040.tar.gz
Merge pull request #573 from orirawlings/pushSideband
Add sideband support for push
Diffstat (limited to 'options.go')
-rw-r--r--options.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/options.go b/options.go
index 02fb926..26002e4 100644
--- a/options.go
+++ b/options.go
@@ -160,6 +160,9 @@ type PushOptions struct {
RefSpecs []config.RefSpec
// Auth credentials, if required, to use with the remote repository.
Auth transport.AuthMethod
+ // Progress is where the human readable information sent by the server is
+ // stored, if nil nothing is stored.
+ Progress sideband.Progress
}
// Validate validates the fields and sets the default values.