mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-22 09:45:37 -05:00
Changes Repository History to Branch History
This commit is contained in:
@@ -18,7 +18,7 @@ export class CopyMessageToClipboardCommand extends ActiveEditorCommand {
|
||||
}
|
||||
|
||||
try {
|
||||
// If we don't have an editor then get the message of the last commit to the repository
|
||||
// If we don't have an editor then get the message of the last commit to the branch
|
||||
if (!uri) {
|
||||
const log = await this.git.getLogForRepo(this.repoPath, undefined, 1);
|
||||
if (!log) return undefined;
|
||||
|
||||
Reference in New Issue
Block a user