Skip to content

Commit f0dfaa2

Browse files
committed
Removes usage of --full-history
- Unwanted perf overhead for basically no value
1 parent 70a1f0b commit f0dfaa2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/env/node/git/sub-providers/commits.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ export class CommitsGitSubProvider implements GitCommitsSubProvider {
344344
];
345345

346346
if (options?.status !== false) {
347-
args.push('--name-status', '--full-history');
347+
args.push('--name-status');
348348
}
349349
if (options?.all) {
350350
args.push('--all');
@@ -487,7 +487,7 @@ export class CommitsGitSubProvider implements GitCommitsSubProvider {
487487

488488
try {
489489
const parser = createLogParserSingle('%H');
490-
const args = [...parser.arguments, '--full-history'];
490+
const args = [...parser.arguments];
491491

492492
const ordering = options?.ordering ?? configuration.get('advanced.commitOrdering');
493493
if (ordering) {

src/env/node/git/sub-providers/contributors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class ContributorsGitSubProvider implements GitContributorsSubProvider {
5252
const currentUser = await this.provider.config.getCurrentUser(repoPath);
5353
const parser = getContributorsParser(options?.stats);
5454

55-
const args = [...parser.arguments, '--full-history', '--use-mailmap'];
55+
const args = [...parser.arguments, '--use-mailmap'];
5656

5757
const merges = options?.merges ?? true;
5858
if (merges) {

0 commit comments

Comments
 (0)