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

@@ -29,7 +29,7 @@ export class DiffLineWithWorkingCommand 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;
// If the line is uncommitted, find the previous commit
@@ -40,7 +40,7 @@ export class DiffLineWithWorkingCommand extends ActiveEditorCommand {
}
catch (ex) {
Logger.error(ex, 'DiffLineWithWorkingCommand', `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`);
}
}