mirror of
https://gitea.com/actions/checkout.git
synced 2025-04-04 22:39:42 +00:00
Fetch all history for all tags and branches when fetch-depth=0 (#258)
This commit is contained in:
@ -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 ''
|
||||
}),
|
||||
|
Reference in New Issue
Block a user