Browse Source

Switches to non-strict iso date format for compatibility

Older git versions don't support strict iso dates
main
Eric Amodio 7 years ago
parent
commit
61f002420a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/git/git.ts

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

@ -15,7 +15,7 @@ export * from './remotes/provider';
let git: IGit;
// `--format=%H -%nauthor %an%nauthor-date %ai%ncommitter %cn%ncommitter-date %ci%nparents %P%nsummary %B%nfilename ?`
const defaultLogParams = [`log`, `--name-status`, `--full-history`, `-M`, `--date=iso8601-strict`, `--format=%H -%nauthor %an%nauthor-date %ai%nparents %P%nsummary %B%nfilename ?`];
const defaultLogParams = [`log`, `--name-status`, `--full-history`, `-M`, `--date=iso8601`, `--format=%H -%nauthor %an%nauthor-date %ai%nparents %P%nsummary %B%nfilename ?`];
async function gitCommand(cwd: string, ...args: any[]) {
try {

Loading…
Cancel
Save