add -C flag in a place where I missed it

7a4f7665e0af8e7eab68859aa7c122790257bd6f

Tucker McKnight <tucker@pangolin.lan> | Sun Dec 07 2025

add -C flag in a place where I missed it
main.ts:68
Before
67
68
69
70
71
72
          // create string of commands saying 'git fetch origin branch:branch' for each branch
          const location = eleventyConfig.dir.output + reposPath + "/" + gitRepoName
          const fetchCommands = repoConfig.branchesToPull.map(branch => `git -C ${location} fetch origin ${branch}:${branch}`).join('; ')
          await exec(`${fetchCommands} && git update-server-info`)
        } else {
          // If it is not there, do git clone
          // todo: does this work if the latest branch is not checked
After
67
68
69
70
71
72
          // create string of commands saying 'git fetch origin branch:branch' for each branch
          const location = eleventyConfig.dir.output + reposPath + "/" + gitRepoName
          const fetchCommands = repoConfig.branchesToPull.map(branch => `git -C ${location} fetch origin ${branch}:${branch}`).join('; ')
          await exec(`${fetchCommands} && git -C ${location} update-server-info`)
        } else {
          // If it is not there, do git clone
          // todo: does this work if the latest branch is not checked