aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-07-28 21:26:17 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-07-28 21:26:17 +0200
commit11a403e8af2f5f1f2d5fd3bc73c1ff943ccb7c96 (patch)
tree57e196443d93a6f57278ee85f3bcdbb138a4b1c7 /options.go
parente4a931cc533f743368e4c77aeb718272e1fad777 (diff)
downloadgo-git-11a403e8af2f5f1f2d5fd3bc73c1ff943ccb7c96.tar.gz
Submodule.Update, add Auth to SubmoduleUpdateOption, fixes #520
Diffstat (limited to 'options.go')
-rw-r--r--options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.go b/options.go
index 9f328cb..0ec18d4 100644
--- a/options.go
+++ b/options.go
@@ -194,6 +194,8 @@ type SubmoduleUpdateOptions struct {
// the current repository but also in any nested submodules inside those
// submodules (and so on). Until the SubmoduleRescursivity is reached.
RecurseSubmodules SubmoduleRescursivity
+ // Auth credentials, if required, to use with the remote repository.
+ Auth transport.AuthMethod
}
var (