diff --git a/core/cli/packages.el b/core/cli/packages.el index f9cfc474864..73c23f6b0d4 100644 --- a/core/cli/packages.el +++ b/core/cli/packages.el @@ -402,9 +402,10 @@ declaration) or dependency thereof that hasn't already been." (print! (start "\033[K(%d/%d) Fetching %s...%s") i total package esc) (doom--straight-with (straight-vc-fetch-from-remote recipe) (when .it - (setq output .output) (straight-merge-package package) (setq target-ref (straight-vc-get-commit type local-repo)) + (setq output (doom--commit-log-between ref target-ref) + commits (length (split-string output "\n" t))) (or (not (doom--same-commit-p target-ref ref)) (cl-return)))))