From 70175717b5844263006522623eda92996259f495 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Fri, 7 Oct 2022 20:57:31 -0700 Subject: [PATCH] dotfiles-install: change git clone depth to 1 --- .local/bin/dotfiles-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/dotfiles-install.sh b/.local/bin/dotfiles-install.sh index 0ec62d7..0a97bbe 100755 --- a/.local/bin/dotfiles-install.sh +++ b/.local/bin/dotfiles-install.sh @@ -17,7 +17,7 @@ if ! command -v git > /dev/null;then fi mkdir -p "$DOTFILES_REPO_DIR" -git clone --bare "$DOTFILES_REPO_URL" "$DOTFILES_REPO_DIR" +git clone --depth 1 --bare "$DOTFILES_REPO_URL" "$DOTFILES_REPO_DIR" dot() { git --git-dir="$DOTFILES_REPO_DIR" --work-tree="$HOME" "$@"