doom-emacs/lisp
Henrik Lissner cef40c804c
fix(cli): don't delete repos beyond $DOOMLOCALDIR
Doom makes multiple attempts to re-clone repos if they failed the first
time, however, if a user provides a :local-repo and that location isn't
a git repo, Doom assumes this it is the result of a failed clone, and so
deletes it to "try" again (which will fail). This can result in lost
work.

This prevents this from happening to packages/repos outside of
$DOOMLOCALDIR (all packages under $DOOMLOCALDIR must be git repos).

Fix: #7785
Amend: 3643c4dadd53
Amend: 1fa8d3a4b992
2024-05-21 17:17:08 +02:00
..
cli fix(cli): don't delete repos beyond $DOOMLOCALDIR 2024-05-21 17:17:08 +02:00
lib fix(lib): sudo-{this,save}-file: file path for indirect clones 2024-05-21 17:17:08 +02:00
demos.org refactor(emacs-lisp): elisp-demos: reorganize Doom demos 2024-05-21 17:16:37 +02:00
doom-cli.el fix(cli): appease byte-compiler wrt defcli-obsolete! 2024-05-21 17:17:02 +02:00
doom-editor.el fix: save-place: don't move point more than once 2024-05-21 17:16:55 +02:00
doom-keybinds.el feat: allow setting evil states for leader keys 2024-05-21 17:17:01 +02:00
doom-lib.el docs: remove unintended repetition 2024-05-21 17:17:07 +02:00
doom-modules.el fix: void-variable doom-modules-load-path error 2024-05-21 17:16:43 +02:00
doom-packages.el nit: general reformatting & minor comment revision 2024-05-21 17:15:54 +02:00
doom-profiles.el fix: ensure load-path et co are set on doom/reload 2024-05-21 17:17:04 +02:00
doom-projects.el tweak: move project-list-file to profile data dir 2024-05-21 17:17:02 +02:00
doom-start.el fix: doom-incremental-first-idle-timer: type error when nil (part 2) 2024-05-21 17:16:53 +02:00
doom-ui.el refactor: inline doom--make-font-specs 2024-05-21 17:16:56 +02:00
doom.el tweak: enable startup optimizations in debug mode 2024-05-21 17:16:58 +02:00
init.el fix: add :depth field to modules 2022-09-24 18:46:21 +02:00
packages.el bump: :core 2024-05-21 17:17:03 +02:00