diff --git a/.gitattributes b/.gitattributes
index 5fb86553a33e0e02470de70bdb6695e8550e6658..42cdecfaf3fd8b2b2bbda6a32560eee75258ff47 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -286,6 +286,7 @@ ecrire/xml/index.php -text
 ecrire/xml/interfaces.php -text
 ecrire/xml/valider.php -text
 /index.php -text
+local/CACHEDIR.TAG -text
 local/remove.txt -text
 prive/aide_body.css -text
 prive/aide_menu.html -text
@@ -922,4 +923,5 @@ prive/xhtml-special.ent -text
 prive/xhtml-symbol.ent -text
 /spip.php -text
 /spip.png -text
+tmp/CACHEDIR.TAG -text
 tmp/remove.txt -text
diff --git a/local/CACHEDIR.TAG b/local/CACHEDIR.TAG
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/tmp/CACHEDIR.TAG b/tmp/CACHEDIR.TAG
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391