Skip to content

Commit 42e514c

Browse files
authored
fix: Diffs now use internal diff flag (#572)
fix #558
1 parent 69ab7bd commit 42e514c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/svnRepository.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -453,13 +453,13 @@ export class Repository {
453453

454454
public async patch(files: string[]) {
455455
files = files.map(file => this.removeAbsolutePath(file));
456-
const result = await this.exec(["diff", ...files]);
456+
const result = await this.exec(["diff", "--internal-diff", ...files]);
457457
const message = result.stdout;
458458
return message;
459459
}
460460

461461
public async patchChangelist(changelistName: string) {
462-
const result = await this.exec(["diff", "--changelist", changelistName]);
462+
const result = await this.exec(["diff", "--internal-diff", "--changelist", changelistName]);
463463
const message = result.stdout;
464464
return message;
465465
}

0 commit comments

Comments
 (0)