Re: [PATCH] git-prompt.sh: Hide prompt for ignored pwd

2014-10-14 Thread Richard Hansen
On 2014-10-13 22:32, Jess Austin wrote: > Set __git_ps1 to display nothing when present working directory is > ignored, triggered by either the new environmental variable > GIT_PS1_HIDE_ON_IGNORED_PWD or the new repository configuration > variable bash.hideOnIgnoredPwd (or both). In the absence of

Re: [PATCH] git-prompt.sh: Hide prompt for ignored pwd

2014-10-14 Thread Richard Hansen
On 2014-10-14 14:47, Johannes Sixt wrote: > Am 14.10.2014 um 04:32 schrieb Jess Austin: >> diff --git a/contrib/completion/git-prompt.sh >> b/contrib/completion/git-prompt.sh >> index c5473dc..d7559ff 100644 >> --- a/contrib/completion/git-prompt.sh >> +++ b/contrib/completion/git-prompt.sh >> @@

Re: [PATCH] git-prompt.sh: Hide prompt for ignored pwd

2014-10-14 Thread Johannes Sixt
Am 14.10.2014 um 04:32 schrieb Jess Austin: > diff --git a/contrib/completion/git-prompt.sh > b/contrib/completion/git-prompt.sh > index c5473dc..d7559ff 100644 > --- a/contrib/completion/git-prompt.sh > +++ b/contrib/completion/git-prompt.sh > @@ -84,6 +84,11 @@ > # GIT_PS1_SHOWCOLORHINTS to a n

[PATCH] git-prompt.sh: Hide prompt for ignored pwd

2014-10-13 Thread Jess Austin
Set __git_ps1 to display nothing when present working directory is ignored, triggered by either the new environmental variable GIT_PS1_HIDE_ON_IGNORED_PWD or the new repository configuration variable bash.hideOnIgnoredPwd (or both). In the absence of these settings this change has no effect. Many