diff --git a/asyncgit/Cargo.toml b/asyncgit/Cargo.toml index 99e55b6d1a..4d32071b72 100644 --- a/asyncgit/Cargo.toml +++ b/asyncgit/Cargo.toml @@ -17,7 +17,7 @@ crossbeam-channel = "0.5" dirs = "6.0" easy-cast = "0.5" fuzzy-matcher = "0.3" -git2 = { version = "0.21", features = ["https", "ssh"] } +git2 = { version = "0.21", features = ["https", "ssh", "unstable-sha256"] } git2-hooks = { path = "../git2-hooks", version = "0.7" } gix = { version = "0.84.0", default-features = false, features = ["mailmap", "max-performance", "revision", "sha1", "sha256", "status"] } log = "0.4" diff --git a/src/queue.rs b/src/queue.rs index 5413841e19..bbf873ad50 100644 --- a/src/queue.rs +++ b/src/queue.rs @@ -21,11 +21,11 @@ use std::{ bitflags! { /// flags defining what part of the app need to update pub struct NeedsUpdate: u32 { - /// `app::update` + /// [`crate::App::update`] const ALL = 0b001; - /// diff may have changed (`app::update_diff`) + /// diff may have changed (e. g. [`crate::popups::InspectCommitPopup::update_diff`]) const DIFF = 0b010; - /// commands might need updating (`app::update_commands`) + /// commands might need updating ([`crate::App::update_commands`]) const COMMANDS = 0b100; /// branches have changed const BRANCHES = 0b1000;