mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 09:10:16 +03:00
Fetch all history for all tags and branches when fetch-depth=0 (#258)
This commit is contained in:
parent
2ff2fbdea4
commit
e52d022eb5
9 changed files with 338 additions and 86 deletions
|
@ -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 ''
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue