]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sha1-file.c
Merge branch 'jt/t5500-unflake'
[thirdparty/git.git] / sha1-file.c
index 69268517242802283ce28a24fcbc49be2b8bdfd9..ccd34dd9e8ce9c498facd694162c30656bfe3195 100644 (file)
@@ -881,9 +881,7 @@ void prepare_alt_odb(struct repository *r)
 /* Returns 1 if we have successfully freshened the file, 0 otherwise. */
 static int freshen_file(const char *fn)
 {
-       struct utimbuf t;
-       t.actime = t.modtime = time(NULL);
-       return !utime(fn, &t);
+       return !utime(fn, NULL);
 }
 
 /*