Fixing the Git feature with the new save_change

pmeunier
Oct 9, 2021, 1:04 PM
KUUVOJUPIC3VHT5XNM6CKYAU5Z2JUGKDFDCSP573VG5QWD3TJJFQC

Dependencies

  • [2] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [3] 5SLOJYHG Fixing the Git feature
  • [4] B3QWIGDE Fixing the Git features with the latest Pijul (+ conflicts in Cargo.toml)
  • [5] IIV3EL2X Cleanup, formatting, and fixing the Git feature

Change contents

  • replacement in "pijul/src/commands/git.rs" at line 803
    [2.161646][2.161646:161700]()
    let hash = changes.save_change(&change).unwrap();
    [2.161646]
    [2.161700]
    let hash = changes
    .save_change(&mut change, |_, _| Ok::<_, anyhow::Error>(()))
    .unwrap();