Add cmd flags to support histogram diff algorithm
Dependencies
- [2]
Y6TBQN7MAutomatically format `pijul` crate - [3]
I24UEJQLVarious post-fire fixes - [4]
AGHLXLITrecord: ensure identity argument is used - [5]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [6]
OY3CGEHQEarly stop in the diff algorithms for diff --short - [7]
OU243LABSupport for staging - [8]
36PM475PFixing diff in the non-"--short" case - [9]
MDY344ZZOptions to use Patience diff instead of Myers - [10]
HKHMES6TSolving conflicts
Change contents
- edit in pijul/src/commands/record.rs at line 59
/// Use Histogram diff algorithm instead of the default#[clap(long = "histogram")]pub histogram: bool, - edit in pijul/src/commands/record.rs at line 319
if self.patience && self.histogram {log::warn!("Only specify one algorithm option.")}let algorithm = if self.patience {libpijul::Algorithm::Patience} else if self.histogram {libpijul::Algorithm::ImaraHistogram} else {libpijul::Algorithm::default()}; - replacement in pijul/src/commands/record.rs at line 338
if self.patience {libpijul::Algorithm::Patience} else {libpijul::Algorithm::default()},algorithm, - replacement in pijul/src/commands/record.rs at line 352
if self.patience {libpijul::Algorithm::Patience} else {libpijul::Algorithm::default()},algorithm, - replacement in pijul/src/commands/record.rs at line 366
if self.patience {libpijul::Algorithm::Patience} else {libpijul::Algorithm::default()},algorithm, - edit in pijul/src/commands/diff.rs at line 38
/// Use Histogram diff algorithm instead of the default#[clap(long = "histogram")]pub histogram: bool, - edit in pijul/src/commands/diff.rs at line 71
if self.patience && self.histogram {log::warn!("Only specify one algorithm option.")}let algorithm = if self.patience {libpijul::Algorithm::Patience} else if self.histogram {libpijul::Algorithm::ImaraHistogram} else {libpijul::Algorithm::default()}; - replacement in pijul/src/commands/diff.rs at line 84
if self.patience {libpijul::Algorithm::Patience} else {libpijul::Algorithm::default()},algorithm, - replacement in pijul/src/commands/diff.rs at line 97
if self.patience {libpijul::Algorithm::Patience} else {libpijul::Algorithm::default()},algorithm,