From 8fa1c72254ab187d2d7a0b1af5c93723b5067a10 Mon Sep 17 00:00:00 2001 From: Jeremy McClure Date: Sat, 1 Aug 2026 14:22:40 -0400 Subject: [PATCH] Update 1 file: bootstrap.sh --- bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 59fcef8..51e2348 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -152,12 +152,12 @@ TARGET_DIR="$HOME/.config/dotstate/storage" if [[ -d "$TARGET_DIR/.git" ]]; then # Case 1: It is already a git repo -> Pull updates echo "Repository exists. Pulling updates..." - git -C "$TARGET_DIR" pull + git -C "$TARGET_DIR" pull &>/dev/null else # Case 2: Not a repo (or doesn't exist) -> Clone fresh # Note: git clone will fail if TARGET_DIR exists as a non-empty non-git dir echo "Repository not found. Cloning..." - git clone --depth=1 "$REPO_URL" "$TARGET_DIR" + git clone --depth=1 "$REPO_URL" "$TARGET_DIR" &>/dev/null fi info "done"