[GH #104] Issue: potentially trademarked strings ("REDACTED 6", "Grand T. REDACTED VI", "Take-REDACTED") in git history — rewrite needed #104
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Zettrox/ztrx. Originally posted by sota-box on 2026-11-25T11:40:47Z.
Summary
Potentially trademarked strings related to Grand T. REDACTED / Take-REDACTED
accidentally got committed to this repository's git history. They are not
present in the current tree (already removed in commit
4e17478, "The gameis no longer named in the tree"), but they remain retrievable from history.
A normal merge request cannot fix this — merging only appends commits and
can never delete existing ones. Fixing it requires rewriting the history of
mainand force-pushing, which only someone with write access to the defaultbranch can do.
Contaminated commits on
main(as ofmaintip90b529f)Found via
git log --all -i -S"..."andgit log --all -i --grep="...":f4504f6d032b8a8c260612849477ff8694affe310e6a2d9f912caefe578d4594e17478-S)Reproduce:
Proposed fix
Rewrite history with
git filter-repousing a replace-text file (applied to both file contents and commit messages)
put actual name in block (case sensitive):
then force-push
main.Checks
content diff vs
mainstate before changes) with all potentially trademarked strings removed from everycommit's content and message. Verification to perform:
git log -i -S"<redacted>" branch_name→ cleangit log -i --grep="<redacted>" branch_name→ cleangit log -i --grep="grand t." branch_name→ cleangit log -i -S"take two"→ only a benign GPU-comment restoration("opcodes that take two sources" — VOP3 opcode terminology)
2 Example rewrite:
2849477"Run Grand T. ... VI from first boot into theworld" →
f10e6a0"Run REDACTED from first boot into the world" (body,author, date, and all 107 changed files preserved).
Aftermath to be aware of
Somewhere outide of project i can just give actual .txt (if needed) and have local branch prepared