Changes diff to compare

This commit is contained in:
Eric Amodio
2017-04-01 02:49:13 -04:00
parent 0c13050387
commit d59f4ef6dc
7 changed files with 17 additions and 17 deletions

View File

@@ -31,7 +31,7 @@ export class DiffLineWithPreviousCommand extends ActiveEditorCommand {
try {
const blame = await this.git.getBlameForLine(gitUri, blameline);
if (!blame) return window.showWarningMessage(`Unable to open diff. File is probably not under source control`);
if (!blame) return window.showWarningMessage(`Unable to open compare. File is probably not under source control`);
commit = blame.commit;
@@ -50,7 +50,7 @@ export class DiffLineWithPreviousCommand extends ActiveEditorCommand {
}
catch (ex) {
Logger.error(ex, 'DiffWithPreviousLineCommand', `getBlameForLine(${blameline})`);
return window.showErrorMessage(`Unable to open diff. See output channel for more details`);
return window.showErrorMessage(`Unable to open compare. See output channel for more details`);
}
}
@@ -65,7 +65,7 @@ export class DiffLineWithPreviousCommand extends ActiveEditorCommand {
}
catch (ex) {
Logger.error(ex, 'DiffWithPreviousLineCommand', 'getVersionedFile');
return window.showErrorMessage(`Unable to open diff. See output channel for more details`);
return window.showErrorMessage(`Unable to open compare. See output channel for more details`);
}
}
}