Browse Source

Fixes #683 - avoids conflict w/ log.showSignature

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

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

@ -630,7 +630,11 @@ export class Git {
params.push(options.ref); params.push(options.ref);
} }
} }
return git<string>({ cwd: repoPath, configs: ['-c', 'diff.renameLimit=0'] }, ...params, '--');
return git<string>(
{ cwd: repoPath, configs: ['-c', 'diff.renameLimit=0', '-c', 'log.showSignature=false'] },
...params,
'--'
);
} }
static log_file( static log_file(
@ -823,6 +827,7 @@ export class Git {
if (Git.isUncommitted(ref)) throw new Error(`ref=${ref} is uncommitted`); if (Git.isUncommitted(ref)) throw new Error(`ref=${ref} is uncommitted`);
const opts: GitCommandOptions = { const opts: GitCommandOptions = {
configs: ['-c', 'log.showSignature=false'],
cwd: root, cwd: root,
encoding: options.encoding || 'utf8', encoding: options.encoding || 'utf8',
errors: GitErrorHandling.Throw errors: GitErrorHandling.Throw

Loading…
Cancel
Save