Bläddra i källkod

Fixes #2012 branches w/o dates can cause issues

main
Eric Amodio 2 år sedan
förälder
incheckning
b5d7d42112
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/git/parsers/branchParser.ts

+ 1
- 0
CHANGELOG.md Visa fil

@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
## Fixed
- Fixes [#2012](https://github.com/gitkraken/vscode-gitlens/issues/2012) - 'Gitlens: Open Changes with Revision...' results in error
- Fixes [#2014](https://github.com/gitkraken/vscode-gitlens/issues/2014) - '#' encoded incorrectly
- Fixes [#1787](https://github.com/gitkraken/vscode-gitlens/issues/1787) - Remove '-review' from Gerrit Remote reviewDomain() — thanks to [PR #1954](https://github.com/gitkraken/vscode-gitlens/pull/1954) by Felipe Santos ([@felipecrs](https://github.com/felipecrs))
- Fixes [#1902](https://github.com/gitkraken/vscode-gitlens/issues/1902) - Support replacing mirror/replica domain with main domain for remote provider — thanks to [PR #1954](https://github.com/gitkraken/vscode-gitlens/pull/1954) by Felipe Santos ([@felipecrs](https://github.com/felipecrs))

+ 1
- 1
src/git/parsers/branchParser.ts Visa fil

@ -60,7 +60,7 @@ export class GitBranchParser {
name,
remote,
current.charCodeAt(0) === 42, // '*',
new Date(date),
date ? new Date(date) : undefined,
// Stops excessive memory usage -- https://bugs.chromium.org/p/v8/issues/detail?id=2869
ref == null || ref.length === 0 ? undefined : ` ${ref}`.substr(1),
// Stops excessive memory usage -- https://bugs.chromium.org/p/v8/issues/detail?id=2869

Laddar…
Avbryt
Spara