mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix overaggressive recloning when updating packages
This commit is contained in:
@ -186,9 +186,12 @@ declaration) or dependency thereof that hasn't already been."
|
|||||||
(print! (info "\033[K(%d/%d) %s is up-to-date...%s") i total package esc)
|
(print! (info "\033[K(%d/%d) %s is up-to-date...%s") i total package esc)
|
||||||
(cl-return))
|
(cl-return))
|
||||||
|
|
||||||
((straight-vc-commit-present-p recipe target-ref)
|
((if (straight-vc-commit-present-p recipe target-ref)
|
||||||
(print! (start "\033[K(%d/%d) Checking out %s (%s)...%s")
|
(print! (start "\033[K(%d/%d) Checking out %s (%s)...%s")
|
||||||
i total package (doom--abbrev-commit target-ref) esc)
|
i total package (doom--abbrev-commit target-ref) esc)
|
||||||
|
(print! (start "\033[K(%d/%d) Fetching %s...%s") i total package esc)
|
||||||
|
(and (straight-vc-fetch-from-remote recipe)
|
||||||
|
(straight-vc-commit-present-p recipe target-ref)))
|
||||||
(straight-vc-check-out-commit recipe target-ref)
|
(straight-vc-check-out-commit recipe target-ref)
|
||||||
(or (not (eq type 'git))
|
(or (not (eq type 'git))
|
||||||
(setq output (doom--commit-log-between ref target-ref)))
|
(setq output (doom--commit-log-between ref target-ref)))
|
||||||
|
Reference in New Issue
Block a user