[PATCH] guilt-refresh: Check color.ui git config before refresh
commitff2aae78a5410f2cf28a0b6645e82bd41a713870
authorCarlos Maiolino <cmaiolino@redhat.com>
Tue, 3 May 2016 22:03:14 +0000 (4 00:03 +0200)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sat, 12 Aug 2017 10:29:32 +0000 (12 13:29 +0300)
treec0ec4dcb60c21ba996eed46b85b6b835eccec5fa
parent202f10a7ca224a1e7e87b705a0141c44d2e535b6
[PATCH] guilt-refresh: Check color.ui git config before refresh

If color.ui configuration is set to "always", git will include escape characters
even during output redirection. It will create bad-formatted patches trashing
the guilt patch stack

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
[jeffpc: quote arg in `[` to avoid malformed command]
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
guilt-refresh