Re: [PATCH 3/3] Revert "bash prompt: avoid command substitution when finalizing gitstring"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 22, 2013, 01:27 UTC
- Message-ID
- <xmqq38q2sefa.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CA+sFfMfa422PF1inOOeTBRE7HRqL5zwCJNagx9Ya0i_LbpwQcg@mail.gmail.com>
Brandon Casey <drafnel@gmail.com> writes:
> Why is "${var-}" necessary? Wouldn't that be equivalent to "${var}"
> or "$var"?set -u