Skip to content

Commit 8612828

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

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

0 commit comments

Comments
 (0)