mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-01 12:26:02 +03:00
Merge pull request #3869 from gitbutlerapp/remove-unused-feature-flag-for-snapshotting-feature
remove unused feature flag for snapshotting feature
This commit is contained in:
commit
ab0d746d22
@ -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