Fetch all history for all tags and branches when fetch-depth=0 (#258)

This commit is contained in:
eric sciple
2020-05-27 09:54:28 -04:00
committed by GitHub
parent 2ff2fbdea4
commit e52d022eb5
9 changed files with 338 additions and 86 deletions

View File

@ -722,9 +722,11 @@ async function setup(testName: string): Promise<void> {
log1: jest.fn(),
remoteAdd: jest.fn(),
removeEnvironmentVariable: jest.fn((name: string) => delete git.env[name]),
revParse: jest.fn(),
setEnvironmentVariable: jest.fn((name: string, value: string) => {
git.env[name] = value
}),
shaExists: jest.fn(),
submoduleForeach: jest.fn(async () => {
return ''
}),