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