瀏覽代碼

Switches log to get full history from git

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

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

@ -13,7 +13,7 @@ export * from './enrichers/logParserEnricher';
let git: IGit;
const UncommittedRegex = /^[0]+$/;
const DefaultLogParams = [`log`, `--name-only`, `--no-merges`, `--date=iso8601-strict`, `--format=%H -%nauthor %an%nauthor-date %ai%ncommitter %cn%ncommitter-date %ci%nsummary %s%nfilename ?`];
const DefaultLogParams = [`log`, `--name-only`, `--full-history`, `-m`, `--date=iso8601-strict`, `--format=%H -%nauthor %an%nauthor-date %ai%ncommitter %cn%ncommitter-date %ci%nsummary %s%nfilename ?`];
async function gitCommand(cwd: string, ...args: any[]) {
try {

Loading…
取消
儲存