Git - 💄 add path delimiter when calling git blame (#242553)

This commit is contained in:
Ladislau Szomoru
2025-03-04 13:04:14 +01:00
committed by GitHub
parent 56e32199a1
commit f7bc839df9

View File

@@ -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) {