Fix microsoft/vscode-pull-request-github#612. Allow fetching with limited depths

This commit is contained in:
Peng Lyu
2018-12-28 12:02:28 -08:00
parent c55cf4b241
commit 94a04621dd
4 changed files with 10 additions and 7 deletions

View File

@@ -153,7 +153,7 @@ export interface Repository {
addRemote(name: string, url: string): Promise<void>;
removeRemote(name: string): Promise<void>;
fetch(remote?: string, ref?: string): Promise<void>;
fetch(remote?: string, ref?: string, depth?: number): Promise<void>;
pull(): Promise<void>;
push(remoteName?: string, branchName?: string, setUpstream?: boolean): Promise<void>;
}