Enable unstable-sha256 for git2 (#3001)

This commit is contained in:
Christoph Rüßler
2026-10-06 09:08:04 +02:00
committed by GitHub
parent f004ef0809
commit d7214eccb3
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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"
+3 -3
View File
@@ -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;