Skip to content

Releases: gitkraken/vscode-gitlens

v9.8.4

10 Jul 17:08

Choose a tag to compare

Added

  • Adds Switch to Two-dot Comparison and Switch to Three-dot Comparison commands to specify whether to use the symmetric difference (three-dot) notation or the range (two-dot) notation for the comparison — applies to all comparisons in the views

Changed

  • Changes the Switch to Working Tree Comparison and Switch to Branch Comparison commands to only affect the current comparison, rather than changing the gitlens.views.repositories.showBranchComparison setting

v9.8.3

09 Jul 23:05

Choose a tag to compare

Added

  • Adds working tree comparison support to the Compare Current Branch with <branch, tag, or ref> node within each repository in the Repositories view
    • Changes gitlens.views.repositories.showBranchComparison to also specify the type of comparison — either with the current branch or the working tree
    • Adds a Switch to Working Tree Comparison command or Switch to Branch Comparison command to the Compare Current Branch with <branch, tag, or ref> node
  • Adds the Open Revision command as an alt-click of the Open File command on files in the views
  • Adds the Open File command as an alt-click of the Open Revision command on files in the views

Changed

  • Changes fetch, pull, and push commands to be executed in parallel, rather than sequentially
  • Changes Search Commits (gitlens.showCommitSearch) command to prompt for a repository, if there is more than one

Removed

  • Removes gitlens.settings.mode setting as the interactive settings editor (via the GitLens: Open Settings command) will always show all settings now

Fixed

  • Fixes #776 - File history sidebar having "Open file" instead of "Open revision"
  • Fixes #692 - Can't open remote on bitbucket — thanks to PR #767 by grozan (@grozan)
  • Fixes a parsing issue with certain renamed files
  • Fixes some issues with emoji rendering

v9.8.2

11 Jun 02:52

Choose a tag to compare

Added

  • Adds a changes indicator (+x -x) to the File History view to quickly show the number of added and/or deleted lines

Changed

  • Preserve Show More expansions during file system or repository changes — avoids losing view expansion and selection
  • Changes to match authors exactly in the Contributors view

Fixed

  • Fixes #734 - Not working with VS Code Remote - SSH extension (fixes the broken hover image)
  • Fixes #751 - Git Command failed
  • Fixes #756 - Merge commit shows only the changes from the last commit on those files
  • Fixes issue with the Open Changes with Previous Revision command when run from the diff editor and the file has unstaged changes
  • Fixes an issue where view expansion and selection was getting lost with search and compare nodes
  • Fixes the Show More command in the File History and Line History views
  • Fixes a caching issue with file histories

v9.8.1

23 May 18:47

Choose a tag to compare

Fixed

  • Fixes a regression where the Copy Remote Url to Clipboard command fails to include the selected line range

v9.8.0

22 May 08:52

Choose a tag to compare

Added

  • Adds a new Compare Current Branch with <branch, tag, or ref> node to each repository in the Repositories view — closes #293
    • Compare Current Branch with <branch, tag, or ref> — optionally shows a comparison of the current branch to a user-selected reference
      • * Commits — lists the commits between the compared revisions
        • Expands to provide the message, author, date, and change indicator of each revision (commit)
          • Each revision (commit) expands to list its set of changed files, complete with status indicators for adds, changes, renames, and deletes
            • An inline toolbar provides quick access to the Open File, Copy Commit ID to Clipboard (alt-click for Copy Commit Message to Clipboard), and Open File on Remote (if available) commands
            • A context menu provides access to more common file revision commands
      • * Files Changed — lists all of the files changed between the compared revisions
  • Adds a Show a comparison of the current branch to a user-selected reference (gitlens.views.repositories.showBranchComparison) setting to specify whether to show a comparison of the current branch to a user-selected reference in the Repositories view
  • Adds a gitlens.advanced.useSymmetricDifferenceNotation setting to specify whether to use the symmetric difference (three-dot) notation or the range (two-dot) notation for comparisions — closes #330
  • Adds a Copy Remote Url to Clipboard command to commit quick pick menus

Changed

  • Changes Pull and Pull Repositories commands to just fetch the repository if the current branch has no tracking branch

Fixed

  • Fixes #734 - Not working with VS Code Remote - SSH extension
  • Fixes #739 - Breadcrumbs don't work on file revisions
  • Fixes #750 - Open file on GitHub does not include directory path
  • Fixes an issue with the Open Revision command in the quick pick menus not working properly

v9.7.4

15 May 07:14

Choose a tag to compare

Added

  • Adds a new experimental Incoming Activity node to each repository in the Repositories view (enabled via "gitlens.insiders": true) — closes #735
    • Incoming Activity — lists the recent incoming activity (merges and pulls) to your local repository
      • Provides the activity command, branch (if available), and date
        • A context menu provides access to the Refresh command
        • Each activity expands to list the commits added by the command
          • An inline toolbar provides quick access to the Compare with HEAD (alt-click for Compare with Working Tree), Copy Commit ID to Clipboard (alt-click for Copy Commit Message to Clipboard), and Open Commit on Remote (if available) commands
          • A context menu provides access to more common revision (commit) commands
          • Each revision (commit) expands to list its set of changed files, complete with status indicators for adds, changes, renames, and deletes
            • An inline toolbar provides quick access to the Open File, Copy Commit ID to Clipboard (alt-click for Copy Commit Message to Clipboard), and Open File on Remote (if available) commands
            • A context menu provides access to more common file revision commands

Fixed

  • Fixes issues with the Show More Actions button on the Details hover not working with renamed files
  • Fixes issues with the Open File, Open Files, Open All Changes with Working Tree, and Apply Changes commands in the views not working with renamed files
  • Fixes issues with the Open File, Open Files, and Apply Changes commands in the quick pick menus not working with renamed files
  • Fixes issues with the Show Stashed Changes (gitlens.showQuickStashList) command and multiple repositories

v9.7.3

11 May 08:04

Choose a tag to compare

Fixed

  • Fixes #740 - Opening untracked files from "files changed" section fails
  • Fixes issue where the Open Changes with Previous Revision command would compare the working file with HEAD even if there no working file changes (now it will compare HEAD with the previous commit)
  • Fixes issue where the Open Changes, Open Changes with Working File, and Open Revision commands on files in the "files changed" section of the Repositories view would either fail or do nothing

v9.7.2

10 May 23:10

Choose a tag to compare

Fixed

  • Fixes #737 - failed to fetch commits and branches
  • Fixes #743 - Update activity bar icon size — thanks to PR #744 by Miguel Solorio (@misolori)

v9.7.1

06 May 08:09

Choose a tag to compare

Fixed

  • Fixes #736 - git command error on GitLens 9.7.0 (unknown '-M' option)

v9.7.0

06 May 02:26

Choose a tag to compare

Added

  • Adds support for Live Share presence
    • Adds an avatar presence indicator and an invite button to start a Live Share session with the code author
      Live Share presence
    • Adds presence status and an Invite to Live Share command to contributor nodes in the Repositories view
  • Adds a new Views Side Bar Layout section to the interactive settings editor (via the GitLens: Open Settings command) with 3 layout presets
    • Default — shows all the views together on the GitLens side bar
    • Source Control — shows all the views together on the Source Control side bar
    • Contextual — shows Repositories on the Source Control side bar, File and Line History on the Explorer side bar, and others on the GitLens side bar
  • Improves the accuracy and experience of the following:
    • Details hover
    • Changes (diff) hover
    • Open Changes with Previous Revision command
    • Open Line Changes with Previous Revision command — closes #719
    • Open Changes with Working File command
    • Open Line Changes with Working File command
    • Open Changes with Next Revision command
  • Adds support to the Details and Changes (diff) hovers to differentiate between staged and unstaged changed
  • Adds a Show All command to the Show More nodes in the views
  • Adds Show More support (i.e. paging) to the File and Line History views
  • Adds an improved experience when starting a new commit search or comparision
  • Adds the renamed path to the description and tooltip of file nodes in the views
  • Adds a gitlens.advanced.maxSearchItems setting to specify the maximum number of items to show in a search — closes #728
  • Adds a gitlens.defaultDateSource setting to specify whether commit dates should use the authored or committed date — closes #537 thanks to PR #707 by Mathew King (@MathewKing)
  • Adds a gitlens.advanced.similarityThreshold setting to specify the amount (percent) of similarity a deleted and added file pair must have to be considered a rename — closes #670 thanks to PR #714 by x13machine (@x13machine)
  • Adds visual tracking to the table of contents of the interactive settings editor to make it easier to navigate and keep context
  • Adds new documentation on how to use and customize GitLens' formatting settings: View Docs
  • Adds an ${originalPath} token for use with file formatting which provides the full file path of the original file, if renamed
  • Adds better logging to show current mode on startup and when changed — closes #725

Changes

  • Changes path collapsing to also collapse root paths when using the compact file layout in the views
  • Ensures file rename detection when getting the status of a repo or file

Removed

  • Removes searching for commits by changed occurrences (-S flag) as it is too confusing and searching by changes (-G flag) better matches user expectations — closes #730

Fixed

  • Fixes #729 - "Show more results" in search commit show less results
  • Fixes #716 - Browsing history of a renamed file fails in forward direction
  • Fixes #724 - GitService.getBranches very very very long
  • Fixes #625 - Branches in Repositories view shows some commit comment texts as branches
  • Fixes issues with keyboard navigation (alt+, and alt+.) in commit details of the file history quick pick menu
  • Fixes issues with keyboard navigation (alt+, and alt+.) in commit details of the branch history quick pick menu
  • Fixes issues when showing all results in various lists and views
  • Fixes issue with id collisions between branches, remotes, and tags in the Repositories view
  • Fixes the Line History view when there are uncommitted and/or unsaved changes
  • Fixes various issues when trying to find the working file from a commit
  • Fixes issues where the Changes (diff) hover wouldn't work properly with renamed files
  • Fixes an intermittent issue where hovers fail to show