summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2018-02-10 14:38:53 -0500
committerDave Reisner <dreisner@archlinux.org>2018-02-10 14:38:53 -0500
commitebd0cbc396931c853f68b62132d2536b1bdafe5a (patch)
treebad40297fea4c0a76ba1baa2fab95f0c5ad8b24f
parentb233aceb92aed4fcdd6a918647c32c915d4fcc71 (diff)
downloadasp32-ebd0cbc396931c853f68b62132d2536b1bdafe5a.tar.xz
avoid coloring when parsing output of 'git branch'
Fixes #22.
-rw-r--r--asp.in2
1 files changed, 1 insertions, 1 deletions
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"
}