Skip to content

Commit 30c8cc6

Browse files
derrickstoleedscho
authored andcommitted
scalar: enable untracked cache unconditionally
Signed-off-by: Derrick Stolee <[email protected]>
1 parent 31d933b commit 30c8cc6

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

scalar.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -166,23 +166,7 @@ static int set_recommended_config(int reconfigure)
166166
{ "core.FSCache", "true", 1 },
167167
{ "core.multiPackIndex", "true", 1 },
168168
{ "core.preloadIndex", "true", 1 },
169-
#ifndef WIN32
170169
{ "core.untrackedCache", "true", 1 },
171-
#else
172-
/*
173-
* Unfortunately, Scalar's Functional Tests demonstrated
174-
* that the untracked cache feature is unreliable on Windows
175-
* (which is a bummer because that platform would benefit the
176-
* most from it). For some reason, freshly created files seem
177-
* not to update the directory's `lastModified` time
178-
* immediately, but the untracked cache would need to rely on
179-
* that.
180-
*
181-
* Therefore, with a sad heart, we disable this very useful
182-
* feature on Windows.
183-
*/
184-
{ "core.untrackedCache", "false", 1 },
185-
#endif
186170
{ "core.logAllRefUpdates", "true", 1 },
187171
{ "credential.https://dev.azure.com.useHttpPath", "true", 1 },
188172
{ "credential.validate", "false", 1 }, /* GCM4W-only */

0 commit comments

Comments
 (0)