diff options
author | matej.risek <matej.risek@hashicorp.com> | 2023-05-04 09:04:23 +0200 |
---|---|---|
committer | matej.risek <matej.risek@hashicorp.com> | 2023-05-04 09:04:23 +0200 |
commit | ecc9fe45b6261492c0cfdcdb1ff4e642252d6694 (patch) | |
tree | 141642f1ebc5e5bc2b6435a54c33e55c00bcec7a /options.go | |
parent | b154dcce7059e4e02f8798db158b6a76ffc4a63e (diff) | |
download | go-git-ecc9fe45b6261492c0cfdcdb1ff4e642252d6694.tar.gz |
git: Add Depth to SubmoduleUpdateOptions
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -284,6 +284,9 @@ type SubmoduleUpdateOptions struct { RecurseSubmodules SubmoduleRescursivity // Auth credentials, if required, to use with the remote repository. Auth transport.AuthMethod + // Depth limit fetching to the specified number of commits from the tip of + // each remote branch history. + Depth int } var ( |