From f1b0dccbe6bab778865cea3640431b091241d559 Mon Sep 17 00:00:00 2001 From: estib Date: Mon, 4 Nov 2024 09:52:58 +0100 Subject: [PATCH] Hunk locking: Remove the experimental flag Move fully to the new Hunk Locking algorithm, remove the references to that flag and the settings UI --- apps/desktop/src/lib/backend/projects.ts | 1 - .../userPreferences/CommitSigningForm.svelte | 11 +---------- .../userPreferences/PreferencesForm.svelte | 19 ------------------- .../tests/virtual_branches/mod.rs | 4 +--- crates/gitbutler-project/src/project.rs | 8 -------- crates/gitbutler-project/src/storage.rs | 5 ----- 6 files changed, 2 insertions(+), 46 deletions(-) diff --git a/apps/desktop/src/lib/backend/projects.ts b/apps/desktop/src/lib/backend/projects.ts index 4f0afbefd..0be4237bc 100644 --- a/apps/desktop/src/lib/backend/projects.ts +++ b/apps/desktop/src/lib/backend/projects.ts @@ -27,7 +27,6 @@ export class Project { omit_certificate_check: boolean | undefined; use_diff_context: boolean | undefined; snapshot_lines_threshold!: number | undefined; - use_experimental_locking!: boolean; // Produced just for the frontend to determine if the project is open in any window. is_open!: boolean; diff --git a/apps/desktop/src/lib/settings/userPreferences/CommitSigningForm.svelte b/apps/desktop/src/lib/settings/userPreferences/CommitSigningForm.svelte index c1e3b8d05..b81c6a877 100644 --- a/apps/desktop/src/lib/settings/userPreferences/CommitSigningForm.svelte +++ b/apps/desktop/src/lib/settings/userPreferences/CommitSigningForm.svelte @@ -1,6 +1,6 @@