Go back to removing everything with .git in the name from tarballs, not just .git/

This commit is contained in:
Simon Quigley 2025-02-07 19:45:59 -06:00
parent c8889e4b51
commit 77cbfb46cf

View File

@ -347,7 +347,7 @@ bool CiLogic::create_project_tarball(std::shared_ptr<PackageConf> &proj, std::sh
try { try {
excludes = extract_files_excluded(copyright.string()); excludes = extract_files_excluded(copyright.string());
} catch(...) {} } catch(...) {}
excludes.emplace_back(".git/"); excludes.emplace_back(".git");
log->append("Creating " + main_tarball.string() + " with the following exclusions:\n"); log->append("Creating " + main_tarball.string() + " with the following exclusions:\n");
for (auto exclude : excludes) { log->append(" - " + exclude + "\n"); } for (auto exclude : excludes) { log->append(" - " + exclude + "\n"); }