diff --git a/_webi/builds-cacher.js b/_webi/builds-cacher.js index a0c8da1..f7da9b4 100644 --- a/_webi/builds-cacher.js +++ b/_webi/builds-cacher.js @@ -557,7 +557,10 @@ BuildsCacher.create = function ({ ALL_TERMS, installers, caches }) { exts.push('.gz'); exts.push('.sh'); } - exts.push('.git'); + let hasGit = formats.includes('git') || formats.includes('.git'); + if (hasGit) { + exts.push('.git'); + } // Fallbacks // (we include everything to bubble an extract error over not found)