summaryrefslogtreecommitdiff
path: root/t/t4211/sha256/expect.simple-f-to-main
diff options
context:
space:
mode:
authorLibravatar Ville Skyttä <ville.skytta@iki.fi>2021-04-08 10:06:41 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-08 10:45:36 -0700
commitc5c0548d793edf4a6e319f237f3a01a1f093bbd7 (patch)
tree4a4341fa2fbe8f8ae07f309a8bdcc57469d7c04b /t/t4211/sha256/expect.simple-f-to-main
parentGit 2.31.1 (diff)
downloadtgif-c5c0548d793edf4a6e319f237f3a01a1f093bbd7.tar.xz
completion: audit and guard $GIT_* against unset use
$GIT_COMPLETION_SHOW_ALL and $GIT_TESTING_ALL_COMMAND_LIST were used without guarding against them being unset, causing errors in nounset (set -u) mode. No other nounset-unsafe $GIT_* usages were found. While at it, remove a superfluous (duplicate) unset guard from $GIT_DIR in __git_find_repo_path. Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4211/sha256/expect.simple-f-to-main')
0 files changed, 0 insertions, 0 deletions