diff options
Diffstat (limited to 'sha1-file.c')
-rw-r--r-- | sha1-file.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sha1-file.c b/sha1-file.c index 188de57634..c468ef7250 100644 --- a/sha1-file.c +++ b/sha1-file.c @@ -868,9 +868,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); } /* |