This commit is contained in:
maia tillie arson crimew 2022-01-01 06:47:06 +01:00
parent 497d6132d5
commit a7eda1d12c
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ func FetchGit(baseUrl, baseDir string) error {
log.Info().Str("base", baseUrl).Msg("fetching .git/ recursively")
jt := jobtracker.NewJobTracker(workers.RecursiveDownloadWorker, maxConcurrency, jobtracker.DefaultNapper)
jt.AddJobs(indexedFiles...)
jt.StartAndWait(&workers.RecursiveDownloadContext{C: c, BaseUrl: baseUrl, BaseDir: baseDir}, true)
jt.StartAndWait(workers.RecursiveDownloadContext{C: c, BaseUrl: baseUrl, BaseDir: baseDir}, true)
if err := checkout(baseDir); err != nil {
log.Error().Str("dir", baseDir).Err(err).Msg("failed to checkout")