Return a clean error instead of a panic when the channel for a commit is not found in `pijul git`
[?]
Feb 26, 2021, 9:46 AM
NHO3QO3WZTJBRPGIQVLNPHUYAB6YMTDOPHNGGTYVPSTP47TBQJ2ACDependencies
- [2]
IIV3EL2XCleanup, formatting, and fixing the Git feature - [3]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [4]
UCQD3JDHFix build errors caused by sanakirja 0.14 - [5]
A3DMBJJAUpgrading the `git` subcommand to the latest Sanakirja and Libpijul
Change contents
- replacement in pijul/src/commands/git.rs at line 239
let channel = txn.load_channel(&oid_)?.unwrap();let channel = if let Some(c) = txn.load_channel(&oid_)? {c} else {bail!("Channel not found: {:?}", oid);};