Ver a proveniência

Adds stats to file log if possible

main
Eric Amodio há 2 anos
ascendente
cometimento
909719d815
1 ficheiros alterados com 10 adições e 1 eliminações
  1. +10
    -1
      src/premium/github/githubGitProvider.ts

+ 10
- 1
src/premium/github/githubGitProvider.ts Ver ficheiro

@ -1605,7 +1605,16 @@ export class GitHubGitProvider implements GitProvider, Disposable {
const foundFile = isFolderGlob(relativePath)
? undefined
: files?.find(f => f.path === relativePath) ??
new GitFileChange(repoPath, relativePath, GitFileIndexStatus.Modified);
new GitFileChange(
repoPath,
relativePath,
GitFileIndexStatus.Modified,
undefined,
undefined,
commit.changedFiles === 1
? { additions: commit.additions ?? 0, deletions: commit.deletions ?? 0, changes: 0 }
: undefined,
);
c = new GitCommit(
this.container,

Carregando…
Cancelar
Guardar