From c1663f0bc869d9c389af879ab4bc69a531b6c9dd Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Fri, 2 Apr 2021 06:37:19 +0200
Subject: [PATCH] fix(git): catch fatal bad config

---
 lib/util/git/index.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts
index a172839a82..79686b1797 100644
--- a/lib/util/git/index.ts
+++ b/lib/util/git/index.ts
@@ -74,6 +74,7 @@ function checkForPlatformFailure(err: Error): void {
     'Could not resolve host',
     ' is not a member of team',
     'early EOF',
+    'fatal: bad config', // .gitmodules problem
   ];
   for (const errorStr of externalHostFailureStrings) {
     if (err.message.includes(errorStr)) {
-- 
GitLab