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:45:22 +0000 (14:45 +0000)
commitd88eda3bc6d0b0d6973b5a5b8c0dba0f6ba70fae
treef84f45fd66ef82e2d41d6c95fa0e923a25da4f94
parent295afe17561b333657d2b1b45c6b8c4643f4c487
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>
(From OE-Core rev: 87acfdb28380c26344a79a9dc0b4b403173bdc44)

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