Skip to content

Commit 76cdd2e

Browse files
derrickstoleedscho
authored andcommitted
scalar: enable untracked cache unconditionally
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
1 parent b8e2cf2 commit 76cdd2e

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
@@ -162,23 +162,7 @@ static int set_recommended_config(int reconfigure)
162162
{ "core.FSCache", "true", 1 },
163163
{ "core.multiPackIndex", "true", 1 },
164164
{ "core.preloadIndex", "true", 1 },
165-
#ifndef WIN32
166165
{ "core.untrackedCache", "true", 1 },
167-
#else
168-
/*
169-
* Unfortunately, Scalar's Functional Tests demonstrated
170-
* that the untracked cache feature is unreliable on Windows
171-
* (which is a bummer because that platform would benefit the
172-
* most from it). For some reason, freshly created files seem
173-
* not to update the directory's `lastModified` time
174-
* immediately, but the untracked cache would need to rely on
175-
* that.
176-
*
177-
* Therefore, with a sad heart, we disable this very useful
178-
* feature on Windows.
179-
*/
180-
{ "core.untrackedCache", "false", 1 },
181-
#endif
182166
{ "core.logAllRefUpdates", "true", 1 },
183167
{ "credential.https://dev.azure.com.useHttpPath", "true", 1 },
184168
{ "credential.validate", "false", 1 }, /* GCM4W-only */

0 commit comments

Comments
 (0)