diff options
author | Paulo Gomes <pjbgf@linux.com> | 2023-05-04 22:44:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 22:44:14 +0100 |
commit | 1dbd729a387edb61c89f088cd68040085e6c81bb (patch) | |
tree | 81a8abeb928fbe07cf75eaf12705e57009c41077 /options.go | |
parent | 2f3db9de0c31de26303eb389b3f3133f7aa67a04 (diff) | |
parent | ecc9fe45b6261492c0cfdcdb1ff4e642252d6694 (diff) | |
download | go-git-1dbd729a387edb61c89f088cd68040085e6c81bb.tar.gz |
Merge pull request #754 from matejrisek/feature/submodule-clone-depth
git: Add Depth to SubmoduleUpdateOptions
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -300,6 +300,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 ( |