From 2b052a9563b98041d6839a76f806fd7395abee4a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 1 Jun 2018 11:25:47 +0200 Subject: [PATCH] Ignore untracked files on make upgrade In case temporary/cache files are saved outside of .local, for example. --- core/core-dispatcher.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-dispatcher.el b/core/core-dispatcher.el index 467f099b3..2a27bb665 100644 --- a/core/core-dispatcher.el +++ b/core/core-dispatcher.el @@ -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)))))