From ebd0cbc396931c853f68b62132d2536b1bdafe5a Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 10 Feb 2018 14:38:53 -0500 Subject: avoid coloring when parsing output of 'git branch' Fixes #22. --- asp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asp.in b/asp.in index f453154..62eea9e 100644 --- a/asp.in +++ b/asp.in @@ -91,7 +91,7 @@ update_local_branches() { while read -r branchname; do git branch -qf "$branchname" "refs/remotes/$branchname" || r=1 - done < <(git branch) + done < <(git branch --no-color) return "$r" } -- cgit v1.2.3-70-g09d2