diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-10 15:43:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-10 15:44:58 -0400 |
commit | 6643b32792fef191fb86bc8a5634f0c52c60cf60 (patch) | |
tree | f0c4f686f754145acd23c961ebd5cae68a44be4b /Types | |
parent | fb2068a99d96af27babca2d8cdaa25be7d9c9b1e (diff) |
fix preferred content definition for the backup group
Broken by commit 2a04e215e10469ee3bab5d1a5d6d76b0c35cc46c, which made empty
preferred content strings match nothing, rather than everything.
Diffstat (limited to 'Types')
-rw-r--r-- | Types/StandardGroups.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/StandardGroups.hs b/Types/StandardGroups.hs index c1ea1fd99..bdc8c4b66 100644 --- a/Types/StandardGroups.hs +++ b/Types/StandardGroups.hs @@ -36,6 +36,6 @@ descStandardGroup FullArchiveGroup = "full archive: archives all files not archi preferredContent :: StandardGroup -> String preferredContent ClientGroup = "exclude=*/archive/* and exclude=archive/*" preferredContent TransferGroup = "not (inallgroup=client and copies=client:2) and " ++ preferredContent ClientGroup -preferredContent BackupGroup = "" -- all content is preferred +preferredContent BackupGroup = "include=*" preferredContent SmallArchiveGroup = "(include=*/archive/* or include=archive/*) and " ++ preferredContent FullArchiveGroup preferredContent FullArchiveGroup = "not (copies=archive:1 or copies=smallarchive:1)" |