mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Ignore untracked files on make upgrade
In case temporary/cache files are saved outside of .local, for example.
This commit is contained in:
@ -212,7 +212,7 @@ recompile. Run this whenever you:
|
|||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(let ((default-directory dir))
|
(let ((default-directory dir))
|
||||||
(if (zerop (process-file "git" nil (current-buffer) nil
|
(if (zerop (process-file "git" nil (current-buffer) nil
|
||||||
"status" "--porcelain"))
|
"status" "--porcelain" "-uno"))
|
||||||
(string-match-p "[^ \t\n]" (buffer-string))
|
(string-match-p "[^ \t\n]" (buffer-string))
|
||||||
(error "Failed to check working tree in %s" dir)))))
|
(error "Failed to check working tree in %s" dir)))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user