From 1a1995d1482476df520831eae4ca68b30a2d33e7 Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Wed, 7 Oct 2026 19:37:35 +0000 Subject: [PATCH] fresh-repo.sh: the standing and target addresses are excluded from the personal set as fixed strings (the + in a noreply address is a quantifier under grep -E; dry run 3 read the target's own address as personal) Co-Authored-By: Claude Fable 5.1 --- tools/repo/fresh-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/repo/fresh-repo.sh b/tools/repo/fresh-repo.sh index 449d690b..066e40cd 100755 --- a/tools/repo/fresh-repo.sh +++ b/tools/repo/fresh-repo.sh @@ -85,7 +85,7 @@ TARGET_EMAIL="$STANDING_ID+$TARGET_LOGIN@users.noreply.github.com" TARGET_IDENT="$TARGET_LOGIN <$TARGET_EMAIL>" # every other identity: "name|email" pairs (author and committer) -PERSONAL_PAIRS="$(git log --all --format='%an|%ae%n%cn|%ce' | grep -v -E "\|($STANDING_EMAIL|$TARGET_EMAIL)$" | sort -u || true)" # never the standing or the target address (7 Oct 2026: the target's own commits read as personal and every rewritten author line then counted as a hit) +PERSONAL_PAIRS="$(git log --all --format='%an|%ae%n%cn|%ce' | grep -v -F -e "|$STANDING_EMAIL" -e "|$TARGET_EMAIL" | sort -u || true)" # fixed strings: the addresses carry a +, a quantifier under -E (dry run 3, 7 Oct 2026: the target's address was read as personal and matched every rewritten line) # never the standing or the target address (7 Oct 2026: the target's own commits read as personal and every rewritten author line then counted as a hit) PERSONAL_EMAILS="$(printf '%s\n' "$PERSONAL_PAIRS" | awk -F'|' 'NF==2{print $2}' | sort -u)" PERSONAL_NAMES="$(printf '%s\n' "$PERSONAL_PAIRS" | awk -F'|' 'NF==2 && $1 ~ / /{print $1}' | grep -v -E "^($STANDING_LOGIN|$TARGET_LOGIN)$" | sort -u || true)" # a name has a space; a login is not a name # the founder's first name, surname and second login from the encoded list (rows 1 to 3, sample column), so the rules never depend on