Skip to content

Commit 149d789

Browse files
committed
ignore vcs directories
1 parent 0d5a68e commit 149d789

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Coder-Desktop/Coder-Desktop/Views/FileSync/FileSyncSessionModal.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ struct FileSyncSessionModal<VPN: VPNService, FS: FileSyncDaemon>: View {
102102
try await fileSync.createSession(
103103
arg: .init(
104104
alpha: .init(path: localPath, protocolKind: .local),
105-
beta: .init(path: remotePath, protocolKind: .ssh(host: remotePath))
105+
beta: .init(path: remotePath, protocolKind: .ssh(host: remoteHostname))
106106
)
107107
)
108108
} catch {

Coder-Desktop/VPNLib/FileSync/FileSyncManagement.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ public extension MutagenDaemon {
3333
req.specification = .with { spec in
3434
spec.alpha = arg.alpha.mutagenURL
3535
spec.beta = arg.beta.mutagenURL
36-
// TODO: Ingest a config from somewhere
37-
spec.configuration = Synchronization_Configuration()
36+
// TODO: Ingest configs from somewhere
37+
spec.configuration = .with {
38+
// ALWAYS ignore VCS directories for now
39+
// https://mutagen.io/documentation/synchronization/version-control-systems/
40+
$0.ignoreVcsmode = .ignore
41+
}
3842
spec.configurationAlpha = Synchronization_Configuration()
3943
spec.configurationBeta = Synchronization_Configuration()
4044
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy