We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6c287 commit 4ad825dCopy full SHA for 4ad825d
hooks/_common.sh
@@ -27,7 +27,7 @@ function common::initialize {
27
function common::parse_cmdline {
28
# common global arrays.
29
# Populated via `common::parse_cmdline` and can be used inside hooks' functions
30
- declare -g -a ARGS=() HOOK_CONFIG=() FILES=()
+ ARGS=() HOOK_CONFIG=() FILES=()
31
32
local argv
33
argv=$(getopt -o a:,h: --long args:,hook-config: -- "$@") || return
0 commit comments