You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,11 +84,23 @@ The **main section** must be called `[settings]`, even if kept empty.
84
84
|--------|-------------|---------|
85
85
|`default-target`| Target directory for VCS checkouts |`./sources`|
86
86
|`threads`| Number of parallel threads for fetching sources |`4`|
87
+
|`smart-threading`| Process HTTPS packages serially to avoid overlapping credential prompts (see below) |`True`|
87
88
|`offline`| Skip all VCS fetch operations (handy for offline work) |`False`|
88
89
|`default-install-mode`| Default `install-mode` for packages: `direct` or `skip`|`direct`|
89
90
|`default-update`| Default update behavior: `yes` or `no`|`yes`|
90
91
|`default-use`| Default use behavior (when false, sources not checked out) |`True`|
91
92
93
+
##### Smart Threading
94
+
95
+
When `smart-threading` is enabled (default), mxdev uses a two-phase approach to prevent credential prompts from overlapping:
96
+
97
+
1.**Phase 1**: HTTPS packages are processed serially (one at a time) to ensure clean, visible credential prompts
98
+
2.**Phase 2**: Remaining packages (SSH, local) are processed in parallel for speed
99
+
100
+
This solves the problem where parallel git operations would cause multiple credential prompts to overlap, making it confusing which package needs credentials.
101
+
102
+
**When to disable**: Set `smart-threading = false` if you have git credential helpers configured (e.g., credential cache, credential store) and never see prompts.
0 commit comments