Pārlūkot izejas kodu

Adds stats to file log if possible

main
Eric Amodio pirms 2 gadiem
vecāks
revīzija
909719d815
1 mainītis faili ar 10 papildinājumiem un 1 dzēšanām
  1. +10
    -1
      src/premium/github/githubGitProvider.ts

+ 10
- 1
src/premium/github/githubGitProvider.ts Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt