summaryrefslogtreecommitdiff
path: root/t/t4018/cpp-struct-definition
diff options
context:
space:
mode:
authorLibravatar Ville Skyttä <ville.skytta@iki.fi>2021-04-16 22:19:39 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-16 13:40:52 -0700
commit76655e8a28d35c7243fa8f138c90a123aa32357f (patch)
tree0c1f6d2b7c13c5195ec4bc8728656e4c1394105c /t/t4018/cpp-struct-definition
parentcompletion: audit and guard $GIT_* against unset use (diff)
downloadtgif-76655e8a28d35c7243fa8f138c90a123aa32357f.tar.xz
completion: avoid aliased command lookup error in nounset mode
Aliased command lookup accesses the `list` variable before it has been set, causing an error in "nounset" mode. Initialize to an empty string to avoid that. $ git nonexistent-command <Tab>bash: list: unbound variable Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-struct-definition')
0 files changed, 0 insertions, 0 deletions