branch: elpa-admin
commit 5dc3bcb7e293bbd5665d3f95445767d6b3c2e18a
Author: Eli Zaretskii <[email protected]>
Commit: Eli Zaretskii <[email protected]>
Use "git worktree list" in archive-contents.el
* admin/archive-contents.el (archive--use-worktree-p): Use "git
worktree list", as "--help" pops up the system Web browser on
MS-Windows.
---
admin/archive-contents.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 322eef9..9952469 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -704,7 +704,7 @@ If WITH-CORE is non-nil, it means we manage :core packages
as well."
(setq archive--use-worktree
(list
(ignore-errors
- (zerop (call-process "git" nil nil nil "worktree" "--help"))))))
+ (zerop (call-process "git" nil nil nil "worktree" "list"))))))
(car archive--use-worktree))
(defun archive--external-package-sync (name)