HomeSoftware Heritage

git provider: run git branch without color

Description

git provider: run git branch without color

If git config color.ui is set to "always", then you get ANSI escape
codes in the git output, which messes up comparisons. This commit
ensures that there are no colors in the output, so you get plain text
as expected.

Details

Provenance
Kenyon Ralph <kenyon@kenyonralph.com>Authored on May 18 2020, 8:21 AM
olasdPushed on Oct 13 2020, 3:46 PM
Parents
R119:bc0b3886c900: Merge pull request #457 from puppetlabs/pdksync_PDK_UPDATE
Branches
Unknown
Tags
Unknown

Event Timeline

Kenyon Ralph <kenyon@kenyonralph.com> committed R119:fb9ab8baaa79: git provider: run git branch without color (authored by Kenyon Ralph <kenyon@kenyonralph.com>).May 18 2020, 10:32 PM