diff options
author | Elijah Newren <newren@gmail.com> | 2021-05-13 06:22:36 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-13 15:50:26 +0900 |
commit | 5c0cbdb107c5e1c1474618535fda438f25d260ca (patch) | |
tree | 51e7677789a2b88d888a18ec2b2d110010c880a2 /t/t9169-git-svn-dcommit-crlf.sh | |
parent | Git 2.31.1 (diff) | |
download | tgif-5c0cbdb107c5e1c1474618535fda438f25d260ca.tar.xz |
git-prompt: work under set -u
Commit afda36dbf3 ("git-prompt: include sparsity state as well",
2020-06-21) added the use of some variables to control how to show
sparsity state in the git prompt, but implicitly assumed that undefined
variables would be treated as the empty string. This breaks users who
run under 'set -u'; fix the code to be more explicit.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9169-git-svn-dcommit-crlf.sh')
0 files changed, 0 insertions, 0 deletions