Explorar el Código

Adds stats to file log if possible

main
Eric Amodio hace 2 años
padre
commit
909719d815
Se han modificado 1 ficheros con 10 adiciones y 1 borrados
  1. +10
    -1
      src/premium/github/githubGitProvider.ts

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

@ -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,

Cargando…
Cancelar
Guardar