]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Update log message and docs when using SLOPPY_FILE_STAT_MATCHES
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>
Thu, 15 Jun 2017 12:50:00 +0000 (14:50 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 15 Jun 2017 18:29:35 +0000 (20:29 +0200)
The size is no longer part of this check.

MANUAL.txt
manifest.c

index c960979c20081ca1f39dbc1c74d0ad5256f81587..a72922a7faf29339541ab8b27bc76db562e61398 100644 (file)
@@ -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.
index b84cc55a1cc192d85357a870d06333b8a380f386..f84bef44b5c603820c2aa0c61712155378f265be 100644 (file)
@@ -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);
                        }
                }