Skip to content

Commit 0fa8757

Browse files
committed
scalar: enable untracked cache unconditionally
Signed-off-by: Derrick Stolee <[email protected]>
1 parent 74f58cc commit 0fa8757

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

contrib/scalar/scalar.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -156,23 +156,7 @@ static int set_recommended_config(int reconfigure)
156156
{ "core.FSCache", "true", 1 },
157157
{ "core.multiPackIndex", "true", 1 },
158158
{ "core.preloadIndex", "true", 1 },
159-
#ifndef WIN32
160159
{ "core.untrackedCache", "true", 1 },
161-
#else
162-
/*
163-
* Unfortunately, Scalar's Functional Tests demonstrated
164-
* that the untracked cache feature is unreliable on Windows
165-
* (which is a bummer because that platform would benefit the
166-
* most from it). For some reason, freshly created files seem
167-
* not to update the directory's `lastModified` time
168-
* immediately, but the untracked cache would need to rely on
169-
* that.
170-
*
171-
* Therefore, with a sad heart, we disable this very useful
172-
* feature on Windows.
173-
*/
174-
{ "core.untrackedCache", "false", 1 },
175-
#endif
176160
{ "core.bare", "false", 1 },
177161
{ "core.logAllRefUpdates", "true", 1 },
178162
{ "credential.https://dev.azure.com.useHttpPath", "true", 1 },

0 commit comments

Comments
 (0)