mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-06 14:24:04 -05:00
Git - 💄 add path delimiter when calling git blame (#242553)
This commit is contained in:
@@ -2222,7 +2222,7 @@ export class Repository {
|
||||
|
||||
async blame(path: string): Promise<string> {
|
||||
try {
|
||||
const args = ['blame', sanitizePath(path)];
|
||||
const args = ['blame', '--', sanitizePath(path)];
|
||||
const result = await this.exec(args);
|
||||
return result.stdout.trim();
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user