'install -d' does not take a set of access settings as first numerical
argument. At least on MacOS (BSD), but according to the manpage
(https://linux.die.net/man/1/install) on Linux, an extradirectory with
the name '755' were created.
On Kubuntu 16.04.5 LTS with 'rpmbuild 4.12.0.1' and 'debbuild 18.10.3',
a few modifications are necessary to create installation packages from
the latest tarball.
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