]> git.hungrycats.org Git - bees/commitdiff
filter: indent rule-building bodies with tabs
authorZygo Blaxell <bees@furryterror.org>
Sat, 10 Oct 2026 20:11:14 +0000 (16:11 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sun, 11 Oct 2026 00:48:00 +0000 (20:48 -0400)
Nine lines in the dedupe, readonly-match and prealloc-match
parsing were indented with two tabs and eight spaces instead of three
tabs.  Whitespace only.

Assisted-by: Claude-Code:claude-opus-5-5
src/bees-filter.cc

index 6a75ad8ea4292bb962d400df2316167233733b63..979bddfc1fb6165d4af77f201d097b9b459707b2 100644 (file)
@@ -679,9 +679,9 @@ parse_rule(const string &name, const Innie &cfg, const SubstFn &subst)
        if (!dedupe_str.empty()) {
                bool ws = false, wd = false;
                for (const auto &tok : split_tokens(dedupe_str)) {
-                       if (tok == "src") ws = true;
-                       else if (tok == "dst") wd = true;
-                       else THROW_CONFIG_ERROR("filter." + name + ".dedupe", dedupe_str, "unknown token '" + tok + "': must be src or dst");
+                       if (tok == "src") ws = true;
+                       else if (tok == "dst") wd = true;
+                       else THROW_CONFIG_ERROR("filter." + name + ".dedupe", dedupe_str, "unknown token '" + tok + "': must be src or dst");
                }
 
                rule.extent_conds.push_back(make_unique<DedupeCondition>(ws, wd));
@@ -719,10 +719,10 @@ parse_rule(const string &name, const Innie &cfg, const SubstFn &subst)
                        rule.extent_conds.push_back(
                                make_unique<ReadonlyExtentCondition>(want_ro, true));
                } else if (ro_match_str.empty() || ro_match_str == "some") {
-                       rule.extent_conds.push_back(
-                               make_unique<ReadonlyExtentCondition>(want_ro, false));
+                       rule.extent_conds.push_back(
+                               make_unique<ReadonlyExtentCondition>(want_ro, false));
                } else {
-                       THROW_CONFIG_ERROR("filter." + name + ".readonly-match", ro_match_str, "must be every or some");
+                       THROW_CONFIG_ERROR("filter." + name + ".readonly-match", ro_match_str, "must be every or some");
                }
 
        }
@@ -752,10 +752,10 @@ parse_rule(const string &name, const Innie &cfg, const SubstFn &subst)
                        rule.extent_conds.push_back(
                                make_unique<PreallocExtentCondition>(want_prealloc, true));
                } else if (prealloc_match_str.empty() || prealloc_match_str == "some") {
-                       rule.extent_conds.push_back(
-                               make_unique<PreallocExtentCondition>(want_prealloc, false));
+                       rule.extent_conds.push_back(
+                               make_unique<PreallocExtentCondition>(want_prealloc, false));
                } else {
-                       THROW_CONFIG_ERROR("filter." + name + ".prealloc-match", prealloc_match_str, "must be every or some");
+                       THROW_CONFIG_ERROR("filter." + name + ".prealloc-match", prealloc_match_str, "must be every or some");
                }
 
        }