Преглед на файлове

Fixes issue where line blame fails intermittently

main
Eric Amodio преди 3 години
родител
ревизия
5fdcdcd003
променени са 2 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. +1
    -0
      CHANGELOG.md
  2. +4
    -2
      src/git/gitService.ts

+ 1
- 0
CHANGELOG.md Целия файл

@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Fixes [#1507](https://github.com/eamodio/vscode-gitlens/issues/1507) - Communicate git error instead of "unable to find git"
- Fixes [#1512](https://github.com/eamodio/vscode-gitlens/issues/1512) - Git tag command can add an extra `-m`
- Fixes [#1402](https://github.com/eamodio/vscode-gitlens/issues/1402) - File history missing commits from other branches
- Fixes an issue where the current line blame intermittently fails to appear
## [11.4.1] - 2021-04-14

+ 4
- 2
src/git/gitService.ts Целия файл

@ -3110,9 +3110,11 @@ export class GitService implements Disposable {
provider: RichRemoteProvider,
options?: { timeout?: number },
): Promise<PullRequest | undefined>;
@gate<GitService['getPullRequestForCommit']>((ref, remoteOrProvider) => {
@gate<GitService['getPullRequestForCommit']>((ref, remoteOrProvider, options) => {
const provider = GitRemote.is(remoteOrProvider) ? remoteOrProvider.provider : remoteOrProvider;
return `${ref}${provider != null ? `|${provider.id}:${provider.domain}/${provider.path}` : ''}`;
return `${ref}${provider != null ? `|${provider.id}:${provider.domain}/${provider.path}` : ''}|${
options?.timeout
}`;
})
@debug<GitService['getPullRequestForCommit']>({
args: {

Зареждане…
Отказ
Запис