Refuse to clone if the path already exists
[?]
Mar 4, 2021, 9:52 AM
GLN4S2SVHF5X2QE6XO5D677KLIR77OGPJEF6EPITP34ANOUDIZQACDependencies
- [2]
LYTVEPH3Avoid cloning into an existing path - [*]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- edit in pijul/src/commands/clone.rs at line 55[4.184550][2.0]
if std::fs::metadata(&path).is_ok() {bail!("Path {:?} already exists", path)}