Fix 'doom update' reporting that a successful fetch failed

This commit is contained in:
Henrik Lissner 2020-01-28 14:06:20 -05:00
parent 665b627b7c
commit 4dc01912f1
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -175,8 +175,8 @@ declaration) or dependency thereof that hasn't already been."
(setq output (straight--process-get-output))
(straight-merge-package package)
(setq target-ref (straight-vc-get-commit type local-repo))
(when (doom--same-commit-p target-ref ref)
(cl-return))))
(or (not (doom--same-commit-p target-ref ref))
(cl-return))))
((doom--same-commit-p target-ref ref)
(print! (info "\033[K(%d/%d) %s is up-to-date...%s") i total package esc)