mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
Git - log branch name in case the branch cannot be found (#201117)
This commit is contained in:
parent
6df54af21c
commit
4061a9a5e7
|
@ -2543,7 +2543,7 @@ export class Repository {
|
||||||
return branch;
|
return branch;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Promise.reject<Branch>(new Error('No such branch'));
|
return Promise.reject<Branch>(new Error(`No such branch: ${name}`));
|
||||||
}
|
}
|
||||||
|
|
||||||
async getDefaultBranch(): Promise<Branch> {
|
async getDefaultBranch(): Promise<Branch> {
|
||||||
|
|
Loading…
Reference in a new issue