Skip to content

Commit

Permalink
fix(git): disable color.ui in git storage (requarks#6014)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricFromCanada authored and davidflypei committed Jun 13, 2023
1 parent b8c747b commit c951258
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/modules/storage/git/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit c951258

Please sign in to comment.