mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
git allow RecurseSubmodules
This commit is contained in:
@@ -312,6 +312,7 @@ func SyncSpiderGit(s model.Spider) (err error) {
|
||||
if err := wt.Pull(&git.PullOptions{
|
||||
RemoteName: "origin",
|
||||
Auth: auth,
|
||||
RecurseSubmodules: git.DefaultSubmoduleRecursionDepth,
|
||||
ReferenceName: plumbing.HEAD,
|
||||
SingleBranch: false,
|
||||
}); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user