diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2020-12-30 17:29:48 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-04 15:25:56 -0800 |
commit | 810df0ea8ed00f31d372f3fd90c205d953aea1e6 (patch) | |
tree | 4ccb17826290f963704c5d28f6818d6a6596610c /t/t0007-git-var.sh | |
parent | completion: bash: add __git_have_func helper (diff) | |
download | tgif-810df0ea8ed00f31d372f3fd90c205d953aea1e6.tar.xz |
completion: bash: improve function detection
1. We should quote the argument
2. We don't need two redirections
3. A safeguard for arguments (-a) would be good
Suggested-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0007-git-var.sh')
0 files changed, 0 insertions, 0 deletions