dotfiles-install: change git clone depth to 1

This commit is contained in:
PowerUser64 2022-10-07 20:57:31 -07:00
parent 45b91c0a1f
commit 70175717b5

View file

@ -17,7 +17,7 @@ if ! command -v git > /dev/null;then
fi fi
mkdir -p "$DOTFILES_REPO_DIR" 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() { dot() {
git --git-dir="$DOTFILES_REPO_DIR" --work-tree="$HOME" "$@" git --git-dir="$DOTFILES_REPO_DIR" --work-tree="$HOME" "$@"