We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ab881 commit b244b54Copy full SHA for b244b54
t/helper/test-chmtime.c
@@ -134,21 +134,6 @@ int cmd__chmtime(int argc, const char **argv)
134
}
135
136
if (utb.modtime != sb.st_mtime && utime(argv[i], &utb) < 0) {
137
-#ifdef GIT_WINDOWS_NATIVE
138
- if (S_ISDIR(sb.st_mode)) {
139
- /*
140
- * NEEDSWORK: The Windows version of `utime()`
141
- * (aka `mingw_utime()`) does not correctly
142
- * handle directory arguments, since it uses
143
- * `_wopen()`. Ignore it for now since this
144
- * is just a test.
145
- */
146
- fprintf(stderr,
147
- ("Failed to modify time on directory %s. "
148
- "Skipping\n"), argv[i]);
149
- continue;
150
- }
151
-#endif
152
fprintf(stderr, "Failed to modify time on %s: %s\n",
153
argv[i], strerror(errno));
154
return 1;
0 commit comments