- Adds an update notification (for feature releases) -- please file an issue if this it too much
- Adds `Show Branch History` command (`gitlens.showQuickBranchHistory`) to show the history of the selected branch
- Adds `Show Branch History` command (`gitlens.showQuickBranchHistory`) to show the history of the selected branch
- Adds `Show Last Opened Quick Pick` command (`gitlens.showLastQuickPick`) to re-open the previously opened quick pick - helps to get back to previous context
- Adds `Show Last Opened Quick Pick` command (`gitlens.showLastQuickPick`) to re-open the previously opened quick pick - helps to get back to previous context
- Adds `alt+-` shortcut for the `Show Last Opened Quick Pick` command (`gitlens.showLastQuickPick`)
- Adds `alt+-` shortcut for the `Show Last Opened Quick Pick` command (`gitlens.showLastQuickPick`)
@ -13,6 +14,7 @@
- Adds current branch to branch quick pick placeholder
- Adds current branch to branch quick pick placeholder
- Adds `Show Branch History` command to the branch history quick pick when showing only limited commits (e.g. starting at a specified commit)
- Adds `Show Branch History` command to the branch history quick pick when showing only limited commits (e.g. starting at a specified commit)
- Adds `Show File History` command to the file history quick pick when showing only limited commits (e.g. starting at a specified commit)
- Adds `Show File History` command to the file history quick pick when showing only limited commits (e.g. starting at a specified commit)
- Adds `Don't Show Again` option to the unsupported git version notification
- Changes `Show Repository History` command to `Show Current Branch History`
- Changes `Show Repository History` command to `Show Current Branch History`
- Changes `Repository History` terminology to `Branch History`
- Changes `Repository History` terminology to `Branch History`
- Fixes issue with `gitlens.diffWithPrevious` command execution via CodeLens when the CodeLens was not at the document/file level
- Fixes issue with `gitlens.diffWithPrevious` command execution via CodeLens when the CodeLens was not at the document/file level
@ -52,12 +55,11 @@ export async function activate(context: ExtensionContext) {
return;
return;
}
}
constversion=Git.gitInfo().version;
const[major,minor]=version.split('.');
// If git is less than v2.2.0
if(parseInt(major,10)<2||parseInt(minor,10)<2){
awaitwindow.showErrorMessage(`GitLens requires a newer version of Git (>= 2.2.0) than is currently installed (${version}). Please install a more recent version of Git.`);
constresult=awaitwindow.showErrorMessage(`GitLens requires a newer version of Git (>= 2.2.0) than is currently installed (${version}). Please install a more recent version of Git.`,`Don't Show Again`);