Forwarding an error instead of panicking in `pijul change`

pmeunier
Feb 27, 2023, 8:50 PM
SGFYGAXKCEALV2JOZEVWLUCJSUGAF22FF774PVTQLBVYLB4A3ZCAC

Dependencies

  • [2] U6TQX5Z2 pager function respects cli option and user config files, PAGER env var
  • [3] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [4] Q4SVMHAE Removing --channel from the changes command
  • [5] SFJ3XRTF Proper escaping of UTF-8 filenames in the patch text format

Change contents

  • replacement in pijul/src/commands/change.rs at line 45
    [3.190285][3.190285:190342]()
    let change = changes.get_change(&hash).unwrap();
    [3.190284]
    [2.2995]
    let change = changes.get_change(&hash)?;