mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-29 01:25:42 -05:00
Changes behavior of copyShaToClipboard
Copies the sha of the most recent commit to the repository if there is no active editor
This commit is contained in:
@@ -79,7 +79,7 @@ export async function activate(context: ExtensionContext) {
|
||||
context.subscriptions.push(activeLineController);
|
||||
|
||||
context.subscriptions.push(new CopyMessageToClipboardCommand(git, repoPath));
|
||||
context.subscriptions.push(new CopyShaToClipboardCommand(git));
|
||||
context.subscriptions.push(new CopyShaToClipboardCommand(git, repoPath));
|
||||
context.subscriptions.push(new DiffWithWorkingCommand(git));
|
||||
context.subscriptions.push(new DiffLineWithWorkingCommand(git));
|
||||
context.subscriptions.push(new DiffWithPreviousCommand(git));
|
||||
|
||||
Reference in New Issue
Block a user