Re: git-sh-prompt: bash: GIT_PS1_COMPRESSSPARSESTATE: unbound variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Anton Mitterer <calestyo@xxxxxxxxxxxx> writes:

> 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
> $ 

Would

    $ set +u

fix it, I have to wonder?




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux