Skip to content

Commit

Permalink
straight: clone --single-branch by default
Browse files Browse the repository at this point in the history
And compute autoload prefixes; which assist the describe-* (and
helpful-*) libraries.
  • Loading branch information
hlissner committed May 24, 2021
1 parent 4b90f28 commit 6321b3a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/core-packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ uses a straight or package.el command directly).")
;; no affect on packages that are pinned, however (run 'doom purge' to
;; compact those after-the-fact). Some packages break when shallow cloned
;; (like magit and org), but we'll deal with that elsewhere.
straight-vc-git-default-clone-depth 1
;; Prefix declarations are unneeded bulk added to our autoloads file. Best
;; we don't have to deal with them at all.
autoload-compute-prefixes nil)
straight-vc-git-default-clone-depth '(1 single-branch))

(with-eval-after-load 'straight
;; `let-alist' is built into Emacs 26 and onwards
Expand Down

0 comments on commit 6321b3a

Please sign in to comment.