The old default of `all` counts all untracked files - including files
listed in .gitignore, which basically makes that information worthless.
`normal` is the default if --show-untracked is not given, and will
list/count the same files as a `git status` will list.
In commit 8ed0d31e8e, which was only supposed to change "cd" to "command cd", this "set echo" line was also added. This command stomps on the shell's argument list, which (through a complicated chain of events) causes logins under lightdm on Linux to fail.
This fixes an obscure error that occurs when the original $PROMPT_COMMAND contains new lines
For example if original $PROMPT_COMMAND is:
```
__bp_trap_string="$(trap -p DEBUG)"
trap DEBUG
__bp_install
```
this then results to the prompt var being set to:
```
setLastCommandState; __bp_trap_string="$(trap -p DEBUG)" trap DEBUG __bp_install ;setGitPrompt
```
which then blows up during `eval` with obscure:
```
bash: PROMPT_COMMAND: line 4: syntax error near unexpected token `;'
bash: PROMPT_COMMAND: line 4: `;setGitPrompt'
```
1. Adding comments after %build as building is not
required in this case
2. Putting the %post and %postun sections after %clean
3. Adding to the %changelog
When GIT_PROMPT_FETCH_REMOTE_STATUS is nonzero, suppresses useless password prompts created by the remote status failing to be updated
Fixesmagicmonty/bash-git-prompt#354
- add $GIT_PROMPT_MASTER_BRANCH - color for master branch
- add $GIT_PROMPT_MASTER_BRANCHES - branch name(s) that use
$GIT_PROMPT_MASTER_BRANCH color, 'master' by default)
All other branches will continue to use $GIT_PROMPT_BRANCH
Fixes https://github.com/magicmonty/bash-git-prompt/issues/311
before this commit, the root prompt would not reset the terminal color so all the text was red. this commit changes the end of the root prompt to reset the color to default.