hooks: rename sparse-checkout.sh to enable-sparse-checkout.sh
[config/vcsh.git] / .config / vcsh / hooks-available / populate-sparsely.sh
index 33c1fb0..937122a 100755 (executable)
@@ -15,7 +15,9 @@ LOCKPID=$(cat "$LOCKDIR/pid")
 [ "$LOCKPID" = $PPID ] || { echo "Repository entered from another vcsh instance. Aborting." 1>&2; exit 1; }
 
 : "${XDG_CONFIG_HOME:="$HOME/.config"}"
-. "$XDG_CONFIG_HOME/vcsh/hooks-available/sparse-checkout.sh"
+
+# shellcheck source=/dev/null
+. "$XDG_CONFIG_HOME/vcsh/hooks-available/enable-sparse-checkout.sh"
 
 # Verify if the current branch is valid before updating the working tree.
 # This avoids errors with empty repositories which would only confuse the