Skip to content

Commit 86a52d5

Browse files
derrickstoleedscho
authored andcommitted
scalar: enable untracked cache unconditionally
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
1 parent 0cb165c commit 86a52d5

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
@@ -151,23 +151,7 @@ static int set_recommended_config(int reconfigure)
151151
{ "core.FSCache", "true", 1 },
152152
{ "core.multiPackIndex", "true", 1 },
153153
{ "core.preloadIndex", "true", 1 },
154-
#ifndef WIN32
155154
{ "core.untrackedCache", "true", 1 },
156-
#else
157-
/*
158-
* Unfortunately, Scalar's Functional Tests demonstrated
159-
* that the untracked cache feature is unreliable on Windows
160-
* (which is a bummer because that platform would benefit the
161-
* most from it). For some reason, freshly created files seem
162-
* not to update the directory's `lastModified` time
163-
* immediately, but the untracked cache would need to rely on
164-
* that.
165-
*
166-
* Therefore, with a sad heart, we disable this very useful
167-
* feature on Windows.
168-
*/
169-
{ "core.untrackedCache", "false", 1 },
170-
#endif
171155
{ "core.logAllRefUpdates", "true", 1 },
172156
{ "credential.https://dev.azure.com.useHttpPath", "true", 1 },
173157
{ "credential.validate", "false", 1 }, /* GCM4W-only */

0 commit comments

Comments
 (0)