see if cd works instead of git -C

afb993f4ca8db7329ca9fa19d519d142be1cabb7

Tucker McKnight <tucker@pangolin.lan> | Sun Jan 11 2026

see if cd works instead of git -C
main.ts:115
Before
114
115
116

117
118
119
          for (let branch of repoConfig.branchesToPull) {
            console.log(`in branch ${branch}, ls tempdirrepopath then checkout ${branch}`)
            console.log(await exec(`ls -lha ${tempDirRepoPath}`))
⁣
            await exec(`git -C ${tempDirRepoPath} checkout ${branch}`)
            for (let buildStep of repoConfig.buildSteps) {
              // Run the command for each step in each branch
              console.log(`cding into ${tempDirRepoPath}`)
After
114
115
116
117
118
119
120
          for (let branch of repoConfig.branchesToPull) {
            console.log(`in branch ${branch}, ls tempdirrepopath then checkout ${branch}`)
            console.log(await exec(`ls -lha ${tempDirRepoPath}`))
            // TODO why doesn't git -C checkout work? Says that repo doesn't exist
            await exec(`(cd ${tempDirRepoPath} && git checkout ${branch})`)
            for (let buildStep of repoConfig.buildSteps) {
              // Run the command for each step in each branch
              console.log(`cding into ${tempDirRepoPath}`)