+
+ {translate(
+ 'auto.components.sidebar.WorktreeVisibilityDialog.globalSettingsApply',
+ 'Sources enabled in Global Settings also apply to this project.'
+ )}
+
+
+
+ )
+}
diff --git a/src/renderer/src/components/sidebar/worktree-visibility-source-provenance.test.ts b/src/renderer/src/components/sidebar/worktree-visibility-source-provenance.test.ts
new file mode 100644
index 00000000000..498eb279b37
--- /dev/null
+++ b/src/renderer/src/components/sidebar/worktree-visibility-source-provenance.test.ts
@@ -0,0 +1,49 @@
+import { describe, expect, it } from 'vitest'
+import type { Repo, WorktreeVisibilityDefaults } from '../../../../shared/types'
+import { hasGloballyShownWorktreeVisibilitySource } from './worktree-visibility-source-provenance'
+
+function repo(overrides: Partial