From e4e87aa7ef0c1a7ccbdb47041acf49cefa08d216 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Thu, 15 Jun 2017 14:50:00 +0200 Subject: [PATCH] Update log message and docs when using SLOPPY_FILE_STAT_MATCHES The size is no longer part of this check. --- MANUAL.txt | 2 +- manifest.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MANUAL.txt b/MANUAL.txt index c960979c2..a72922a7f 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -491,7 +491,7 @@ when compiling preprocessed source code. *file_stat_matches*:: ccache normally examines a file's contents to determine whether it matches the cached version. With this option set, ccache will consider a file as - matching its cached version if the sizes, mtimes and ctimes match. + matching its cached version if the mtimes and ctimes match. *include_file_ctime*:: By default, ccache also will not cache a file if it includes a header whose ctime is too new. This option disables that check. diff --git a/manifest.c b/manifest.c index b84cc55a1..f84bef44b 100644 --- a/manifest.c +++ b/manifest.c @@ -383,10 +383,10 @@ verify_object(struct conf *conf, struct manifest *mf, struct object *obj, if (conf->sloppiness & SLOPPY_FILE_STAT_MATCHES) { if (fi->mtime == st->mtime && fi->ctime == st->ctime) { - cc_log("size/mtime/ctime hit for %s", path); + cc_log("mtime/ctime hit for %s", path); continue; } else { - cc_log("size/mtime/ctime miss for %s", path); + cc_log("mtime/ctime miss for %s", path); } } -- 2.47.2