| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,7 @@ jobs: | |||
| 19 | 19 | - name: Checkout the repo | |
| 20 | 20 | uses: actions/checkout@v2 | |
| 21 | 21 | with: | |
| 22 | + fetch-depth: 0 | ||
| 22 | 23 | persist-credentials: false | |
| 23 | 24 | ||
| 24 | 25 | - name: Clone nodejs/TSC repository | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -211,7 +211,8 @@ async function moveTscToEmeritus(peopleToMove) { | |||
| 211 | 211 | // only been on the TSC for a week and therefore hasn't attended any meetings. | |
| 212 | 212 | const tscMembersAtEnd = await getTscFromReadme(); | |
| 213 | 213 | ||
| 214 | - await runGitCommand(`git checkout 'HEAD@{${SINCE}}' -- README.md`); | ||
| 214 | + const startCommit = await runGitCommand(`git rev-list -1 --before '${SINCE}' HEAD`); | ||
| 215 | + await runGitCommand(`git checkout ${startCommit} -- README.md`); | ||
| 215 | 216 | const tscMembersAtStart = await getTscFromReadme(); | |
| 216 | 217 | await runGitCommand('git reset HEAD README.md'); | |
| 217 | 218 | await runGitCommand('git checkout -- README.md'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments