From c8dad4d8d899422dba6040331489db5516928c83 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 17 Mar 2019 12:44:46 -0400 Subject: [PATCH] Fixes #683 - avoids conflict w/ log.showSignature --- src/git/git.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/git/git.ts b/src/git/git.ts index b9281ff..8202c07 100644 --- a/src/git/git.ts +++ b/src/git/git.ts @@ -630,7 +630,11 @@ export class Git { params.push(options.ref); } } - return git({ cwd: repoPath, configs: ['-c', 'diff.renameLimit=0'] }, ...params, '--'); + return git( + { cwd: repoPath, configs: ['-c', 'diff.renameLimit=0', '-c', 'log.showSignature=false'] }, + ...params, + '--' + ); } static log_file( @@ -823,6 +827,7 @@ export class Git { if (Git.isUncommitted(ref)) throw new Error(`ref=${ref} is uncommitted`); const opts: GitCommandOptions = { + configs: ['-c', 'log.showSignature=false'], cwd: root, encoding: options.encoding || 'utf8', errors: GitErrorHandling.Throw