Skip to content

Commit 522e5a4

Browse files
committed
Renames 'Compare with *' in quick pick menus
Renames 'Compare File with Previous Commit' command Renames 'Compare Line with Previous Commit' command Renames 'Compare Line with Working Tree' command
1 parent e99febb commit 522e5a4

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ GitLens provides an unobtrusive blame annotation at the end of the selected line
6868

6969
- Adds a `Compare File with Next Commit` command (`gitlens.diffWithNext`) with a shortcut of `alt+.` to compare the active file/diff with the next commit revision
7070

71-
- Adds a `Compare File with Previous Commit` command (`gitlens.diffWithPrevious`) with a shortcut of `alt+,` to compare the active file/diff with the previous commit revision
71+
- Adds a `Compare File with Previous` command (`gitlens.diffWithPrevious`) with a shortcut of `alt+,` to compare the active file/diff with the previous commit revision
7272

73-
- Adds a `Compare Line with Previous Commit` command (`gitlens.diffLineWithPrevious`) with a shortcut of `shift+alt+,` to compare the active file/diff with the previous line commit revision
73+
- Adds a `Compare Line Commit with Previous` command (`gitlens.diffLineWithPrevious`) with a shortcut of `shift+alt+,` to compare the active file/diff with the previous line commit revision
7474

7575
- Adds a `Compare File with Working Tree` command (`gitlens.diffWithWorking`) with a shortcut of `shift+alt+w` to compare the most recent commit revision of the active file/diff with the working tree
7676

77-
- Adds a `Compare Line with Working Tree` command (`gitlens.diffLineWithWorking`) with a shortcut of `alt+w` to compare the commit revision of the active line with the working tree
77+
- Adds a `Compare Line Commit with Working Tree` command (`gitlens.diffLineWithWorking`) with a shortcut of `alt+w` to compare the commit revision of the active line with the working tree
7878

7979
#### Navigate and Explore
8080

@@ -120,7 +120,7 @@ GitLens provides an unobtrusive blame annotation at the end of the selected line
120120

121121
![Line Commit Details Quick Pick Menu](https://raw.githubusercontent.com/eamodio/vscode-git-codelens/master/images/screenshot-commit-file-details.png)
122122

123-
- Provides entries to `Show Commit Details`, `Show File History`, `Compare with...`, `Copy to Clipboard`, `Open File`, `Open File in <remote-service>` when available, and more
123+
- Provides entries to `Show Commit Details`, `Show File History`, `Compare File with...`, `Copy to Clipboard`, `Open File`, `Open File in <remote-service>` when available, and more
124124
- Navigate back to the previous quick pick menu via `alt+left arrow`, if available
125125
- Use the `alt+right arrow` shortcut on an entry to execute it without closing the quick pick menu, if possible — commands that open windows outside of VS Code will still close the quick pick menu unless [`"gitlens.advanced.quickPick.closeOnFocusOut": false`](#extension-settings) is set
126126

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,12 +386,12 @@
386386
},
387387
{
388388
"command": "gitlens.diffWithPrevious",
389-
"title": "Compare File with Previous Commit",
389+
"title": "Compare File with Previous",
390390
"category": "GitLens"
391391
},
392392
{
393393
"command": "gitlens.diffLineWithPrevious",
394-
"title": "Compare Line with Previous Commit",
394+
"title": "Compare Line Commit with Previous",
395395
"category": "GitLens"
396396
},
397397
{
@@ -401,7 +401,7 @@
401401
},
402402
{
403403
"command": "gitlens.diffLineWithWorking",
404-
"title": "Compare Line with Working Tree",
404+
"title": "Compare Line Commit with Working Tree",
405405
"category": "GitLens"
406406
},
407407
{

src/quickPicks/commitFileDetails.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class CommitFileDetailsQuickPick {
7272

7373
if (commit.previousSha) {
7474
items.push(new CommandQuickPickItem({
75-
label: `$(git-compare) Compare with Previous Commit`,
75+
label: `$(git-compare) Compare File with Previous`,
7676
description: `\u00a0 \u2014 \u00a0\u00a0 $(git-commit) ${commit.previousShortSha} \u00a0 $(git-compare) \u00a0 $(git-commit) ${commit.shortSha}`
7777
}, Commands.DiffWithPrevious, [
7878
commit.uri,
@@ -85,7 +85,7 @@ export class CommitFileDetailsQuickPick {
8585

8686
if (commit.workingFileName) {
8787
items.push(new CommandQuickPickItem({
88-
label: `$(git-compare) Compare with Working Tree`,
88+
label: `$(git-compare) Compare File with Working Tree`,
8989
description: `\u00a0 \u2014 \u00a0\u00a0 $(git-commit) ${commit.shortSha} \u00a0 $(git-compare) \u00a0 $(file-text) ${workingName}`
9090
}, Commands.DiffWithWorking, [
9191
Uri.file(path.resolve(commit.repoPath, commit.workingFileName)),

0 commit comments

Comments
 (0)