Skip to content

Commit

Permalink
fix: Diffs now use internal diff flag (#572)
Browse files Browse the repository at this point in the history
fix #558
  • Loading branch information
JohnstonCode committed May 13, 2019
1 parent 69ab7bd commit 42e514c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/svnRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,13 +453,13 @@ export class Repository {

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

public async patchChangelist(changelistName: string) {
const result = await this.exec(["diff", "--changelist", changelistName]);
const result = await this.exec(["diff", "--internal-diff", "--changelist", changelistName]);
const message = result.stdout;
return message;
}
Expand Down

0 comments on commit 42e514c

Please sign in to comment.