When cloning, try to init *before* setting up the path Drop (pijul::commands::clone::RepoPath)
[?]
Jan 13, 2021, 9:25 AM
RGJWLQWBXOOQF5KO3SVDRYNE3T5SAQYBWCCDCKGRZXFXIDBUIXMACDependencies
- [2]
LYTVEPH3Avoid cloning into an existing path - [3]
B3QWIGDEFixing the Git features with the latest Pijul (+ conflicts in Cargo.toml) - [4]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- edit in pijul/src/commands/clone.rs at line 67
let mut repo = Repository::init(Some(path.clone()))?; - edit in pijul/src/commands/clone.rs at line 69
let mut repo = Repository::init(Some(repo_path.0.clone()))?;