Update gitprompt.sh

Remove trailing whitespaces
Merge pull request #54 from ChoiZ/patch-1

Update gitprompt.sh
Fix PROMPT_COMMAND setGitPrompt cumulation when re-sourcing gitprompt.sh

Repeated calls of:
    source .bash-git-prompt/gitprompt.sh
lead to cumulation:
    PROMPT_COMMAND=setGitPrompt;setGitPrompt;...
rendering everything slow
Merge pull request #55 from Bost/prompt-command

Fix PROMPT_COMMAND setGitPrompt cumulation when re-sourcing gitprompt.sh
Move last little bit of script into a function so local is available
Merge pull request #56 from erikpukinskis/master

Move last little bit of script into a function so local is available
Merge branch 'master' into custom

* master:
  Move last little bit of script into a function so local is available
  Fix PROMPT_COMMAND setGitPrompt cumulation when re-sourcing gitprompt.sh
  Update gitprompt.sh

Conflicts:
	gitprompt.sh