Skip to content

Commit

Permalink
Removes dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Dec 2, 2024
1 parent 719ff9e commit 457e86e
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions src/env/node/git/localGitProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3733,43 +3733,6 @@ export class LocalGitProvider implements GitProvider, Disposable {
...args,
);

// const parser = GitLogParser.defaultParser;

// const data = await this.git.log2(repoPath, options?.ref, {
// ...options,
// // args: parser.arguments,
// limit: limit,
// merges: options?.merges == null ? true : options.merges,
// ordering: options?.ordering ?? configuration.get('advanced.commitOrdering'),
// similarityThreshold: configuration.get('advanced.similarityThreshold'),
// });

// const commits = [];
// const entries = parser.parse(data);
// for (const entry of entries) {
// commits.push(
// new GitCommit2(
// repoPath,
// entry.sha,
// new GitCommitIdentity(
// entry.author,
// entry.authorEmail,
// new Date((entry.authorDate as any) * 1000),
// ),
// new GitCommitIdentity(
// entry.committer,
// entry.committerEmail,
// new Date((entry.committerDate as any) * 1000),
// ),
// entry.message.split('\n', 1)[0],
// entry.parents.split(' '),
// entry.message,
// entry.files.map(f => new GitFileChange(repoPath, f.path, f.status as any, f.originalPath)),
// [],
// ),
// );
// }

const log = parseGitLog(
this.container,
data,
Expand Down

0 comments on commit 457e86e

Please sign in to comment.