]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
docs: Clarify what relative path means for base_dir
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 5 Aug 2026 19:54:59 +0000 (21:54 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 5 Aug 2026 19:57:48 +0000 (21:57 +0200)
Related to #1761.

doc/manual.adoc

index 6480a4c48cfdee08c91b123bf7d2657639fb2ae3..57f13650bcc19261fd0acf5e181b7125a839f5f3 100644 (file)
@@ -500,8 +500,10 @@ Windows and `:` on other systems.
 *base_dir* (*CCACHE_BASEDIR*)::
 
     This option specifies a list of absolute paths. When set, ccache converts
-    absolute paths to relative paths before hashing, but only for paths that
-    start with one of the specified base directories.
+    absolute paths to relative paths before sending them to the compiler (or
+    including them in the input hash), but only for paths that start with one of
+    the specified base directories. "Relative" here means "relative to the
+    current working directory".
 +
 This enables cache sharing between compilations in different directories, even
 when the project uses absolute paths. See