Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
any
-
None
Description
To get the gti branch name in file core/sqf/build-scripts/build.branch,
50 branch=$(git branch | grep '^* ' | sed 's/(no branch)/no_branch/' | awk '
')
`git branch` is used.
But if the configuration color.ui in git is on, the command `git branch` output the color control code, like
cd build-scripts && ./genverhdr.ksh -major "2" \
-minor "3" \
-update "0" \
-build "adamas" \
-flavor "debug" \
*-funbranch "89433fb_dh_[[32mmaster[[m" *
*-branch "89433fb_[[32mmaster[[m" *
-date "04Jan18"
this causes some troubles.
So I propose to add a option `--no-color` to `git brunch`.
Attachments
Issue Links
- links to