mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:3643c4dadd
Amend:1fa8d3a4b9