RediWM is a Wayland compositor written in Zig (OpenGL ES) that includes everything in one process
Temporarily disable torrents and clarify Git gate
Melf9964b2ab009
diff --git a/src/files/app_torrents.zig b/src/files/app_torrents.zigindex ffbc749..84f14fa 100644--- a/src/files/app_torrents.zig+++ b/src/files/app_torrents.zig@@ -37,7 +37,7 @@ pub const View = struct {};/// Transfers are hidden for now: no sidebar entry, no helper started, no/// dialogs. Flip to bring the feature back; the rest of the code is intact.-pub const enabled = true;+pub const enabled = false;pub fn startTorrents(self: *App) void {if (!enabled) return;diff --git a/src/files/worker.zig b/src/files/worker.zigindex 4d53ca6..8a42643 100644--- a/src/files/worker.zig+++ b/src/files/worker.zig@@ -592,8 +592,7 @@ pub const Worker = struct {list.append(mem, item) catch continue;}- // Temporarily disable Git integration, including discovery, watches and- // all repository UI, regardless of the saved Git View preference.+ // Temporarily disable Git integration while file operations are being completed.const git_enabled = false;snap.repository = if (git_enabled) git.scan(mem, self.io, self.environ, dir_path) catch null else null;if (snap.repository) |repo| {