diff --git a/README.md b/README.md index 164eef8..1f3074c 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ For more advanced customizations, refer to the [settings documentation](#gitlens - Adds a **details hover** annotation to the current line to show more commit details ([optional](#hover-settings- 'Jump to the Hover settings'), on by default) - Provides **automatic issue linking** to Bitbucket, GitHub, GitLab, and Azure DevOps in commit messages - Provides a **quick-access command bar** with _Open Changes_, _Blame Previous Revision_, _Open on Remote_, _Invite to Live Share_ (if available), and _Show More Actions_ command buttons - - Click the commit id to execute the _Show Commit Details_ command + - Click the commit id to execute the _Show Commit_ command ##### Changes (diff) Hover @@ -170,7 +170,7 @@ For more advanced customizations, refer to the [settings documentation](#gitlens - Adds a **changes (diff) hover** annotation to the current line to show the line's previous version ([optional](#hover-settings- 'Jump to the Hover settings'), on by default) - Click the **Changes** to execute the _Open Changes_ command - - Click the current and previous commit ids to execute the _Show Commit Details_ command + - Click the current and previous commit ids to execute the _Show Commit_ command #### Annotation Hovers @@ -189,7 +189,7 @@ For more advanced customizations, refer to the [settings documentation](#gitlens - Adds a **details hover** annotation to each line while annotating to show more commit details ([optional](#hover-settings- 'Jump to the Hover settings'), on by default) - Provides **automatic issue linking** to Bitbucket, GitHub, GitLab, and Azure DevOps in commit messages - Provides a **quick-access command bar** with _Open Changes_, _Blame Previous Revision_, _Open on Remote_, _Invite to Live Share_ (if available), and _Show More Actions_ command buttons - - Click the commit id to execute the _Show Commit Details_ command + - Click the commit id to execute the _Show Commit_ command ##### Changes (diff) Hover @@ -199,7 +199,7 @@ For more advanced customizations, refer to the [settings documentation](#gitlens - Adds a **changes (diff) hover** annotation to each line while annotating to show the line's previous version ([optional](#hover-settings- 'Jump to the Hover settings'), on by default) - Click the **Changes** to execute the _Open Changes_ command - - Click the current and previous commit ids to execute the _Show Commit Details_ command + - Click the current and previous commit ids to execute the _Show Commit_ command --- @@ -407,7 +407,7 @@ The search commits view provides the following features, - Results can be provided by the following commands - _Search Commits_ command (`gitlens.showCommitSearch`) - _Show File History_ command (`gitlens.showQuickFileHistory`) - - _Show Commit Details_ command (`gitlens.showQuickCommitDetails`) + - _Show Commit_ command (`gitlens.showQuickCommitDetails`) --- @@ -549,7 +549,7 @@ The compare view provides the following features, Commit Details Quick Pick Menu

-- Adds a _Show Commit Details_ command (`gitlens.showQuickCommitDetails`) to show a **commit details quick pick menu** of the most recent commit of the current file +- Adds a _Show Commit_ command (`gitlens.showQuickCommitDetails`) to show a **commit details quick pick menu** of the most recent commit of the current file - Quickly see the set of files changed in the commit, complete with status indicators for adds, changes, renames, and deletes - Provides additional entries to _Show in View_, _Open Commit on \_ (if available), _Open Files_, _Open Revisions_, _Open Directory Compare with Previous Revision_, _Open Directory Compare with Working Tree_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_ - Navigate back to the previous quick pick menu via `alt+left arrow`, if available @@ -561,7 +561,7 @@ The compare view provides the following features,

- Adds a _Show Commit File Details_ command (`gitlens.showQuickCommitFileDetails`) with a shortcut of `alt+c` to show a **file commit details quick pick menu** of the most recent commit of the current file - - Provides entries to _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on \_ (if available), _Open Revision on \_ (if available), _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Show Commit Details_, _Show File History_, and _Show Previous File History_ + - Provides entries to _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on \_ (if available), _Open Revision on \_ (if available), _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Show Commit_, _Show File History_, and _Show Previous File History_ - Navigate back to the previous quick pick menu via `alt+left arrow`, if available - 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`](#misc-settings- 'Jump to Misc settings') is set diff --git a/package.json b/package.json index 474aaeb..84ce8ce 100644 --- a/package.json +++ b/package.json @@ -2398,12 +2398,12 @@ }, { "command": "gitlens.showQuickCommitDetails", - "title": "Show Commit Details", + "title": "Show Commit", "category": "GitLens" }, { "command": "gitlens.showQuickCommitFileDetails", - "title": "Show Commit Details", + "title": "Show Commit", "category": "GitLens" }, { diff --git a/src/commands/showQuickCommit.ts b/src/commands/showQuickCommit.ts index 1597756..05b018d 100644 --- a/src/commands/showQuickCommit.ts +++ b/src/commands/showQuickCommit.ts @@ -71,14 +71,14 @@ export class ShowQuickCommitCommand extends ActiveEditorCachedCommand { try { const blame = await Container.git.getBlameForLine(gitUri, blameline); if (blame == null) { - void Messages.showFileNotUnderSourceControlWarningMessage('Unable to show commit details'); + void Messages.showFileNotUnderSourceControlWarningMessage('Unable to show commit'); return; } // Because the previous sha of an uncommitted file isn't trust worthy we just have to kick out if (blame.commit.isUncommitted) { - void Messages.showLineUncommittedWarningMessage('Unable to show commit details'); + void Messages.showLineUncommittedWarningMessage('Unable to show commit'); return; } @@ -88,8 +88,8 @@ export class ShowQuickCommitCommand extends ActiveEditorCachedCommand { args.commit = blame.commit; } catch (ex) { - Logger.error(ex, 'ShowQuickCommitDetailsCommand', `getBlameForLine(${blameline})`); - void Messages.showGenericErrorMessage('Unable to show commit details'); + Logger.error(ex, 'ShowQuickCommitCommand', `getBlameForLine(${blameline})`); + void Messages.showGenericErrorMessage('Unable to show commit'); return; } @@ -108,7 +108,7 @@ export class ShowQuickCommitCommand extends ActiveEditorCachedCommand { if (args.repoLog === undefined) { const log = await Container.git.getLog(repoPath!, { limit: 2, ref: args.sha }); if (log === undefined) { - void Messages.showCommitNotFoundWarningMessage('Unable to show commit details'); + void Messages.showCommitNotFoundWarningMessage('Unable to show commit'); return; } @@ -118,7 +118,7 @@ export class ShowQuickCommitCommand extends ActiveEditorCachedCommand { } if (args.commit === undefined) { - void Messages.showCommitNotFoundWarningMessage('Unable to show commit details'); + void Messages.showCommitNotFoundWarningMessage('Unable to show commit'); return; } @@ -141,8 +141,8 @@ export class ShowQuickCommitCommand extends ActiveEditorCachedCommand { }, })); } catch (ex) { - Logger.error(ex, 'ShowQuickCommitDetailsCommand'); - void Messages.showGenericErrorMessage('Unable to show commit details'); + Logger.error(ex, 'ShowQuickCommitCommand'); + void Messages.showGenericErrorMessage('Unable to show commit'); } } } diff --git a/src/statusbar/statusBarController.ts b/src/statusbar/statusBarController.ts index ddfabe9..c477d9e 100644 --- a/src/statusbar/statusBarController.ts +++ b/src/statusbar/statusBarController.ts @@ -162,10 +162,10 @@ export class StatusBarController implements Disposable { this._blameStatusBarItem.tooltip = 'Show Commit in Repositories View'; break; case StatusBarCommand.ShowQuickCommitDetails: - this._blameStatusBarItem.tooltip = 'Show Commit Details'; + this._blameStatusBarItem.tooltip = 'Show Commit'; break; case StatusBarCommand.ShowQuickCommitFileDetails: - this._blameStatusBarItem.tooltip = 'Show Line Commit Details'; + this._blameStatusBarItem.tooltip = 'Show Commit'; break; case StatusBarCommand.ShowQuickFileHistory: this._blameStatusBarItem.tooltip = 'Show File History';