瀏覽代碼

Fixes #683 - avoids conflict w/ log.showSignature

main
Eric Amodio 5 年之前
父節點
當前提交
c8dad4d8d8
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      src/git/git.ts

+ 6
- 1
src/git/git.ts 查看文件

@ -630,7 +630,11 @@ export class Git {
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(
@ -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

Loading…
取消
儲存