From b0fbbc718c5cab75d5d2b3ca026574437eefe90f Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 10 Feb 2017 04:09:40 -0500 Subject: [PATCH] Switches log to get full history from git --- src/git/git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git/git.ts b/src/git/git.ts index 334c771..a42eff7 100644 --- a/src/git/git.ts +++ b/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 {