Skip to content

v6.0.0

Compare
Choose a tag to compare
@eamodio eamodio released this 09 Nov 04:49

Added

  • Adds multi-root workspace support -- Learn more
  • Adds new logo/icon
  • Adds indicator dots on the branch node(s) of the GitLens custom view which denote the following:
    • None - no upstream or up-to-date with the upstream
    • Green - ahead of the upstream
    • Red - behind the upstream
    • Yellow - both ahead of and behind the upstream
  • Adds progress indicator to the Search Commits command (gitlens.showCommitSearch)
  • Adds code search support to the Search Commits command (gitlens.showCommitSearch) -- closes #127
    • Use ~<regex> to search for commits with differences whose patch text contains added/removed lines that match <regex>
    • Use =<regex> to search for commits with differences that change the number of occurrences of the specified string (i.e. addition/deletion) in a file
  • Adds support to the Compare File with Branch... command (gitlens.diffWithBranch) work with renamed files -- closes #165
  • Adds Compare File with Branch... command (gitlens.diffWithBranch) to source control resource context menu
  • Adds Open Repository in Remote command (gitlens.openRepoInRemote) to repository node(s) of the GitLens custom view
  • Adds Enable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOn) to the GitLens custom view regardless of the current view
  • Adds Disable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOff) to the GitLens custom view regardless of the current view
  • Adds new Git terminal commands to the GitLens custom view - opens a GitLens terminal and sends the specified Git command to it
    • Adds Checkout Branch (via Terminal) command (gitlens.terminalCheckoutBranch) to branch node(s) of the GitLens custom view
    • Adds Create Branch (via Terminal)... command (gitlens.terminalCreateBranch) to branch node(s) of the GitLens custom view
    • Adds Delete Branch (via Terminal) command (gitlens.terminalDeleteBranch) to branch node(s) of the GitLens custom view
    • Adds Rebase Branch to Remote (via Terminal) command (gitlens.terminalRebaseBranchToRemote) to branch node(s) of the GitLens custom view
    • Adds Squash Branch into Commit (via Terminal) command (gitlens.terminalSquashBranchIntoCommit) to branch node(s) of the GitLens custom view
    • Adds Rebase Commit (via Terminal) command (gitlens.terminalRebaseCommit) to commit node(s) of the GitLens custom view
    • Adds Reset Commit (via Terminal) command (gitlens.terminalResetCommit) to commit node(s) of the GitLens custom view
    • Adds Remove Remote (via Terminal) command (gitlens.terminalRemoveRemote) to remote node(s) of the GitLens custom view
  • Adds ability to specify the url protocol used with user-defined remote services via gitlens.remotes setting -- thanks to PR #192 by Helmut Januschka (@hjanuschka)!

Changed

  • GitLens custom view will no longer show if there is no Git repository -- closes #159
  • Optimizes event handling, executing git commands, and general processing to improve performance and reduce any lag
  • Optimizes current line hover annotations to only be computed on hover (i.e. lazily evaluated) to reduce the compute required when changing lines
  • Protects credentials from possibly being affected by poor network conditions via Git Credential Manager (GCM) for Windows environment variables
  • Delays (slightly) the initial loading of the GitLens custom view to improve startup performance

Fixed

  • Fixes jumpy code lens when deleting characters from a line with a Git code lens
  • Fixes #178 - Slight but noticeable keyboard lag with Gitlens
  • Fixes #183 - Remote with same url should only show once
  • Fixes #185 - Wrong relative date shows on mouse hover
  • Fixes issue where using the Refresh command on a GitLens custom view node refreshed the whole view, rather than just the node
  • Fixes issue where certain commands fail when there is no current branch (rebase, detached HEAD, etc)