From e39a8ba27963ac090ee16f3670cff04204a8ffd3 Mon Sep 17 00:00:00 2001 From: Ilias Tsitsimpis <iliastsi@grnet.gr> Date: Fri, 7 Feb 2014 17:04:29 +0200 Subject: [PATCH] snf-ci: Fix the branch name for pithos webclient When cloning the pithos webclient, snf-ci tries to checkout a branch with the same name as the synnefo one (if such branch exists). To do so it gets the list of all branches using the 'git branch' command. But 'git branch' uses the pager and so the command's output is filled with garbage. This patch fixes that by telling git to not use the pager. --- ci/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/utils.py b/ci/utils.py index 4fa6e6a33..07d70dac4 100644 --- a/ci/utils.py +++ b/ci/utils.py @@ -724,7 +724,7 @@ class SynnefoCI(object): for branch in `git branch -a | grep remotes | grep -v HEAD`; do git branch --track ${branch##*/} $branch > /dev/null 2>&1 done - git branch + git --no-pager branch --no-color """ webclient_branches = _run(cmd, False) webclient_branches = webclient_branches.split() -- GitLab