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:
Kiril Videlov 2024-05-27 00:02:32 +02:00 committed by GitHub
commit ab0d746d22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View File

@ -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()
}
}

View File

@ -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>,
}