* Creates a number of empty commits; this is useful to ensure * that a particular commit doesn't make it into a shallow clone.
(count: number, cwd: string)
| 272 | * that a particular commit doesn't make it into a shallow clone. |
| 273 | */ |
| 274 | async function createDummyCommits(count: number, cwd: string) { |
| 275 | for (let i = 0; i < count; i++) { |
| 276 | await commit("dummy commit", cwd); |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | async function addFileAndCommit(file: string, cwd: string) { |
| 281 | await add(file, cwd); |
no test coverage detected
searching dependent graphs…