Skip to content

Commit d7214ec

Browse files
authored
Enable unstable-sha256 for git2 (#3001)
1 parent f004ef0 commit d7214ec

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎asyncgit/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ crossbeam-channel = "0.5"
1717
dirs = "6.0"
1818
easy-cast = "0.5"
1919
fuzzy-matcher = "0.3"
20-
git2 = { version = "0.21", features = ["https", "ssh"] }
20+
git2 = { version = "0.21", features = ["https", "ssh", "unstable-sha256"] }
2121
git2-hooks = { path = "../git2-hooks", version = "0.7" }
2222
gix = { version = "0.84.0", default-features = false, features = ["mailmap", "max-performance", "revision", "sha1", "sha256", "status"] }
2323
log = "0.4"

‎src/queue.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ use std::{
2121
bitflags! {
2222
/// flags defining what part of the app need to update
2323
pub struct NeedsUpdate: u32 {
24-
/// `app::update`
24+
/// [`crate::App::update`]
2525
const ALL = 0b001;
26-
/// diff may have changed (`app::update_diff`)
26+
/// diff may have changed (e. g. [`crate::popups::InspectCommitPopup::update_diff`])
2727
const DIFF = 0b010;
28-
/// commands might need updating (`app::update_commands`)
28+
/// commands might need updating ([`crate::App::update_commands`])
2929
const COMMANDS = 0b100;
3030
/// branches have changed
3131
const BRANCHES = 0b1000;

0 commit comments

Comments
 (0)