diff --git a/core/core-packages.el b/core/core-packages.el index 284ac0bd7..f535f9b57 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -126,7 +126,8 @@ uses a straight or package.el command directly).") ((null pin) (funcall call "git" "clone" "--origin" "origin" repo-url repo-dir "--depth" (number-to-string straight-vc-git-default-clone-depth) - "--branch" straight-repository-branch)) + "--branch" straight-repository-branch + "--single-branch" "--no-tags")) ((integerp straight-vc-git-default-clone-depth) (make-directory repo-dir t) (let ((default-directory repo-dir)) @@ -134,7 +135,8 @@ uses a straight or package.el command directly).") (funcall call "git" "checkout" "-b" straight-repository-branch) (funcall call "git" "remote" "add" "origin" repo-url) (funcall call "git" "fetch" "origin" pin - "--depth" (number-to-string straight-vc-git-default-clone-depth)) + "--depth" (number-to-string straight-vc-git-default-clone-depth) + "--no-tags") (funcall call "git" "checkout" "--detach" pin))))) (require 'straight (concat repo-dir "/straight.el")) (doom-log "Initializing recipes")