mirror of
https://github.com/gitui-org/gitui.git
synced 2026-10-12 02:14:16 +00:00
Enable unstable-sha256 for git2 (#3001)
This commit is contained in:
+1
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user