Pass showProgress to fetchOptions

This commit is contained in:
Shia 2023-09-05 08:46:38 +09:00 committed by Shia
parent b4ffde65f4
commit f329befabb
3 changed files with 9 additions and 5 deletions

View file

@ -34,7 +34,7 @@ export interface IGitCommandManager {
filter?: string
fetchDepth?: number
fetchTags?: boolean
showProgress?: boolean
showProgress: boolean
}
): Promise<void>
getDefaultBranch(repositoryUrl: string): Promise<string>
@ -246,7 +246,7 @@ class GitCommandManager {
filter?: string
fetchDepth?: number
fetchTags?: boolean
showProgress?: boolean
showProgress: boolean
}
): Promise<void> {
const args = ['-c', 'protocol.version=2', 'fetch']