From 04fc19ef58fc23965d582721cf22691e1bd91cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Pr=C3=A4ntare?= Date: Tue, 2 Jun 2026 20:10:13 +0200 Subject: [PATCH] borg--drone-states: Operate in borg-top-level-directory "git diff-index" emits paths relative to root. Therefore, if `borg-user-emacs-directory' is a subdirectory, it is not appropriate to operate in that directory. --- borg.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg.el b/borg.el index 6599f0b..e709ba1 100644 --- a/borg.el +++ b/borg.el @@ -1236,7 +1236,7 @@ Formatting is according to the commit message conventions." version)))))) (defun borg--drone-states () - (let ((default-directory borg-user-emacs-directory)) + (let ((default-directory borg-top-level-directory)) (mapcar (lambda (line) (pcase-let ((`(,state ,module) (split-string line "\t")))