Browse Source

Adds renameLimit value to avoid warnings

main
Eric Amodio 6 years ago
parent
commit
86f4a42443
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/git/git.ts

+ 1
- 1
src/git/git.ts View File

@ -451,7 +451,7 @@ export class Git {
}
static log(repoPath: string, options: { maxCount?: number; ref?: string; reverse?: boolean }) {
const params = [...defaultLogParams, '--full-history', '-M', '-m'];
const params = ['-c', 'diff.renameLimit=0', ...defaultLogParams, '--full-history', '-M', '-m'];
if (options.maxCount && !options.reverse) {
params.push(`-n${options.maxCount}`);
}

Loading…
Cancel
Save