mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 22:03:30 +03:00
remove unused feature flag for snapshotting feature
This commit is contained in:
parent
e7fd4c4457
commit
1fbb756183
@ -69,7 +69,6 @@ fn restore_snapshot(repo_dir: &str, snapshot_id: &str) -> Result<()> {
|
||||
fn project_from_path(repo_dir: &str) -> Project {
|
||||
Project {
|
||||
path: std::path::PathBuf::from(repo_dir),
|
||||
enable_snapshots: Some(true),
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
|
@ -84,8 +84,6 @@ pub struct Project {
|
||||
pub project_data_last_fetch: Option<FetchResult>,
|
||||
#[serde(default)]
|
||||
pub omit_certificate_check: Option<bool>,
|
||||
#[serde(default)]
|
||||
pub enable_snapshots: Option<bool>,
|
||||
// The number of changed lines that will trigger a snapshot
|
||||
pub snapshot_lines_threshold: Option<usize>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user