git-sh-prompt: bash: GIT_PS1_COMPRESSSPARSESTATE: unbound variable
- From
Christoph Anton Mitterer <calestyo@scientia.net>
- Date
- May 13, 2021, 03:38 UTC
- Message-ID
- <f1fc174b10ca5bc8b54ede513bc79e3864d8e014.camel@scientia.net>
Hey there.
Could it be that git-sh-prompt no longer works properly?
With git 2.31.1: $ . /usr/lib/git-core/git-sh-prompt $ PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' $ cd someGitRepo bash: GIT_PS1_COMPRESSSPARSESTATE: unbound variable $
Cheers, Chris.