[PATCH 0/1] Improve instructions around how to set git-prompt preference variables.

2019-06-05 Thread Edward D'Souza via GitGitGadget
When I first tried to use the git-prompt.sh script, I followed the instructions at the top of the file and everything worked, except for the "GIT_PS1_SHOWDIRTYSTATE" preference. Even though I had it set to true, I wasn't seeing the "()" and "(+)" in my shell prompt. After a few hours of poking arou

[PATCH 1/1] git-prompt.sh: update shell variable instructions.

2019-06-05 Thread Edward D'Souza via GitGitGadget
From: Edward D'Souza Clarify the need to set variables like GIT_PS1_SHOWDIRTYSTATE before "source ~/.git-prompt.sh" is executed in your shell init process. If you set these preferences too late i.e. after .git-prompt.sh executes, they will silently fail to take effect. Signed-off-by: Edward D'S