fix(scripts): address PR review feedback for shellspec installer

Add companion install-shellspec.md documentation file to match
codebase convention. Add --depth=1 to git pull for consistent
shallow clone behavior.
This commit is contained in:
2026-03-02 02:30:19 +02:00
parent 963559cf75
commit 9584b2ccd1
2 changed files with 15 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ install_shellspec()
{
if [[ -d "$SHELLSPEC_CACHE" ]]; then
msgr ok "shellspec repo already cloned, pulling latest..."
git -C "$SHELLSPEC_CACHE" pull --quiet
git -C "$SHELLSPEC_CACHE" pull --quiet --depth=1
else
git clone --depth 1 "$SHELLSPEC_REPO" "$SHELLSPEC_CACHE"
fi