X-Git-Url: https://git.ao2.it/config/vcsh.git/blobdiff_plain/0a50375aa4ea1d908e024e2ed8706a4c64670600..2ec706e30dfff503a575df0c8d5d5986d263c4bd:/.config/vcsh/hooks-available/populate-sparsely.sh diff --git a/.config/vcsh/hooks-available/populate-sparsely.sh b/.config/vcsh/hooks-available/populate-sparsely.sh index 33c1fb0..0561add 100755 --- a/.config/vcsh/hooks-available/populate-sparsely.sh +++ b/.config/vcsh/hooks-available/populate-sparsely.sh @@ -15,6 +15,8 @@ LOCKPID=$(cat "$LOCKDIR/pid") [ "$LOCKPID" = $PPID ] || { echo "Repository entered from another vcsh instance. Aborting." 1>&2; exit 1; } : "${XDG_CONFIG_HOME:="$HOME/.config"}" + +# shellcheck source=/dev/null . "$XDG_CONFIG_HOME/vcsh/hooks-available/sparse-checkout.sh" # Verify if the current branch is valid before updating the working tree.