From bb81e5d02df38c940709bc7416ea84620add889a Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Thu, 20 Mar 2014 18:05:41 -0500 Subject: Remove deprecated tar exclude functionality twrpDU::check_skip_dirs() handles skipped folders now. Everywhere twrpTar::setexcl() is being used to exclude files eventually calls createTarFork(), which in turn calls Generate_TarList(), which checks check_skip_dirs(). Change-Id: Ibbc4eb2eb89863ccb2a15f5a3b5092fb10fcbcc0 --- partition.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'partition.cpp') diff --git a/partition.cpp b/partition.cpp index 1ae54f57e..2ebb5c597 100644 --- a/partition.cpp +++ b/partition.cpp @@ -1618,11 +1618,7 @@ bool TWPartition::Backup_Tar(string backup_folder) { DataManager::GetValue(TW_USE_COMPRESSION_VAR, use_compression); tar.use_compression = use_compression; - //exclude Google Music Cache - vector excludedirs = du.get_absolute_dirs(); - for (int i = 0; i < excludedirs.size(); ++i) { - tar.setexcl(excludedirs.at(i)); - } + #ifndef TW_EXCLUDE_ENCRYPTED_BACKUPS DataManager::GetValue("tw_encrypt_backup", use_encryption); if (use_encryption && Can_Encrypt_Backup) { -- cgit v1.2.3