From 41454cfd30cbdbbcc4dfb53f1c29aecfcce470b2 Mon Sep 17 00:00:00 2001 From: Eric Knibbe Date: Fri, 13 Jan 2023 17:54:15 -0500 Subject: [PATCH] fix(git): disable color.ui in git storage (#6014) --- server/modules/storage/git/storage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/modules/storage/git/storage.js b/server/modules/storage/git/storage.js index cd69f3e7..0995445a 100644 --- a/server/modules/storage/git/storage.js +++ b/server/modules/storage/git/storage.js @@ -45,9 +45,10 @@ module.exports = { await this.git.init() } - // Disable quotePath + // Disable quotePath, color output // Link https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath await this.git.raw(['config', '--local', 'core.quotepath', false]) + await this.git.raw(['config', '--local', 'color.ui', false]) // Set default author await this.git.raw(['config', '--local', 'user.email', this.config.defaultEmail])