From 20e3a852606f5d6abeef5a4c2edf7243969f1201 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 31 Aug 2022 01:09:14 -0400 Subject: [PATCH] Fixes contributors view --- CHANGELOG.md | 4 ++++ src/env/node/git/localGitProvider.ts | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6996b16..ee47e9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] +### Fixed + +- Fixes regression with _Contributors_ view not working + ## [12.2.0] - 2022-08-30 ### Added diff --git a/src/env/node/git/localGitProvider.ts b/src/env/node/git/localGitProvider.ts index d71840c..bb06415 100644 --- a/src/env/node/git/localGitProvider.ts +++ b/src/env/node/git/localGitProvider.ts @@ -2390,11 +2390,7 @@ export class LocalGitProvider implements GitProvider, Disposable { args.push(`--${ordering}-order`); } if (options?.authors?.length) { - args.push( - '--use-mailmap', - '--author', - ...options.authors.map(a => `--author=^${a.name} <${a.email}>$`), - ); + args.push('--use-mailmap', ...options.authors.map(a => `--author=^${a.name} <${a.email}>$`)); } let hasMoreOverride;