Re: git-sh-prompt: bash: GIT_PS1_COMPRESSSPARSESTATE: unbound variable
- From
Christoph Anton Mitterer <calestyo@scientia.net>
- Date
- May 13, 2021, 13:08 UTC
- Message-ID
- <123ef9e4f5dfe64e62dbdb207633df06cd94e818.camel@scientia.net>
- In-Reply-To
- <xmqq4kf7cmaj.fsf@gitster.g>
On Thu, 2021-05-13 at 13:03 +0900, Junio C Hamano wrote:
> Would > $ set +u > fix it, I have to wonder?
Damn, I'm so blind ^^ Had recently set -u to try out whether unset variables are used anywhere. Yes it fixes it.
Thanks anyway for going to fix it :-)
Cheers, Chris.