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'
```
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
If length is passed as a parameter, the given length will be used to
truncate the pwd. If nothing is specified it defaults to 1/3 of
the terminal width.
* Fixed the bug, than GIT_SHOW_UNTRACKED_FILES=no was not respected
* Renamed GIT_SHOW_UNTRACKED_FILES to GIT_PROMPT_SHOW_UNTRACKED_FILES as
this is more consistent to the other environment variables
* GIT_PROMPT_SHOW_UNTRACKED_FILES can be now also set on a per
repository basis in .bash-git-rc
* Updated README
Fixes#215 and 216
changed #!/bin/sh to #!/bin/bash as eg Debian and Ubuntu default
shell is /bin/dash. This script will not work with it, and so the
default shell has to be /bin/bash.