fix(gitfs): fix fetch args again (#3684)
This commit is contained in:
Родитель
5b81a330ab
Коммит
6b00f2928d
|
@ -85,10 +85,7 @@ class Storage {
|
|||
git = Git(cwd).silent(true);
|
||||
await git.raw(['remote', 'set-url', 'origin', config.url]);
|
||||
const fetchStart = process.hrtime();
|
||||
await git.fetch(config.url, {
|
||||
'--depth': '2',
|
||||
'--no-single-branch': true,
|
||||
});
|
||||
await git.fetch([config.url, '--depth=2', '--no-single-branch']);
|
||||
await determineBaseBranch();
|
||||
await resetToBranch(config.baseBranch);
|
||||
await cleanLocalBranches();
|
||||
|
|
Загрузка…
Ссылка в новой задаче