]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: Disable ANSI escape codes from git branch
authorMatt Fleming <matt.fleming@intel.com>
Thu, 6 Mar 2014 11:04:34 +0000 (11:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Mar 2014 14:44:25 +0000 (14:44 +0000)
commit87acfdb28380c26344a79a9dc0b4b403173bdc44
tree4d5d39ff8d4527753b9eb50ef8d1689444664945
parent4661f1441429952f30e19cebd93dc42ce31fd868
kernel-yocto: Disable ANSI escape codes from git branch

'git branch' may use ANSI escape codes in its output (to provide colour)
which doesn't play well with commands expecting pure plain text, e.g.

    fatal: '^[[31mmaster^[[m' is not a valid branch name.

Use the --no-color option to ensure all branch names are plain text.

Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass