Updating reset with the new CLI refactoring
Dependencies
- [2]
ICEK2JVGAdd reset_overwrites_changes config option. When set to never --force is required for reset - [3]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [4]
RUBBHYZ7Removing unnecessary async/await
Change contents
- replacement in pijul/src/commands/reset.rs at line 34
let reset_overwrites_changes = crate::config::Global::load()let reset_overwrites_changes = pijul_config::Global::load() - replacement in pijul/src/commands/reset.rs at line 39
Some(crate::config::Choice::Never) => false,Some(crate::config::Choice::Auto) | Some(crate::config::Choice::Always) | _ => true,Some(pijul_config::Choice::Never) => false,Some(pijul_config::Choice::Auto) | Some(pijul_config::Choice::Always) | _ => true,