From 11663f3a7c811c80a8d8f8c5bca7368c37792fba Mon Sep 17 00:00:00 2001 From: Nyxtorm Date: Mon, 20 Feb 2023 17:03:09 +0100 Subject: [PATCH] Fix "Invalid branch!" because of color.branch --- server/modules/storage/git/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/storage/git/storage.js b/server/modules/storage/git/storage.js index 32638c66..3fdf8370 100644 --- a/server/modules/storage/git/storage.js +++ b/server/modules/storage/git/storage.js @@ -48,7 +48,7 @@ module.exports = { // 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]) + await this.git.raw(['config', '--local', 'color.branch', false]) // Set default author await this.git.raw(['config', '--local', 'user.email', this.config.defaultEmail])