[GH #104] Issue: potentially trademarked strings ("REDACTED 6", "Grand T. REDACTED VI", "Take-REDACTED") in git history — rewrite needed #104

Open
opened 2026-11-25 12:07:10 +00:00 by sota-box · 0 comments
sota-box commented 2026-11-25 12:07:10 +00:00 (Migrated from github.com)

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 game
is 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
main and force-pushing, which only someone with write access to the default
branch can do.

Contaminated commits on main (as of main tip 90b529f)

Found via git log --all -i -S"..." and git log --all -i --grep="...":

Commit Where the strings appear
f4504f6 Initial commit — "grand t. redacted" in content
d032b8a "grand t. redacted" in content
8c26061 "grand t. redacted" in content
2849477 "grand t. redacted" in content + message "Run Grand T. REDACTED VI from first boot into the world"
ff8694a "grand t. redacted" in content
ffe310e "grand t. redacted" in content
6a2d9f9 "grand t. redacted" in content
12caefe "take redacted" in content (verify — may be benign substring)
578d459 message "victory-redacted6: this fork's changes..." + "redacted6" in content
4e17478 the removal commit itself (strings diffable via -S)

Reproduce:

git log --all --oneline -i -S"grand t. <redacted>"
git log --all --oneline -i -S"<redacted>6"
git log --all --oneline -i -S"take two"

Proposed fix

Rewrite history with git filter-repo
using a replace-text file (applied to both file contents and commit messages)
put actual name in block (case sensitive):

g<redacted> 6==>REDACTED
g<redacted>6==>REDACTED
G<REDACTED> 6==>REDACTED
g<REDACTED>6==>REDACTED
G<REDACTED> VI==>REDACTED
grand t<redacted>==>REDACTED
Grand T<redacted>==>REDACTED
Grand T<redacted> VI==>REDACTED
g<redacted>6-test-folder==>REDACTED
take t...==>REDACTED
Take-T...==>REDACTED
take-t...==>REDACTED
Take T...==>REDACTED

then force-push main.

Checks

  1. Head contains contains the identical tree (zero
    content diff vs main state before changes) with all potentially trademarked strings removed from every
    commit's content and message. Verification to perform:
  • git log -i -S"<redacted>" branch_name → clean
  • git log -i --grep="<redacted>" branch_name → clean
  • git log -i --grep="grand t." branch_name → clean
  • git 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 the
world" → f10e6a0 "Run REDACTED from first boot into the world" (body,
author, date, and all 107 changed files preserved).

Aftermath to be aware of

  • All descendants of rewritten commits get new SHAs; contributors and open PRs must re-clone or carefully rebase after the force-push.
  • Pre-existing forks keep the old history permanently.

Somewhere outide of project i can just give actual .txt (if needed) and have local branch prepared

<!-- greyfinch-sync:Zettrox/ztrx:issue:6603658530 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/104). Originally posted by [sota-box](https://github.com/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 game is 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 `main` and force-pushing, which only someone with write access to the default branch can do. ## Contaminated commits on `main` (as of `main` tip `90b529f`) Found via `git log --all -i -S"..."` and `git log --all -i --grep="..."`: | Commit | Where the strings appear | |---|---| | `f4504f6` | Initial commit — "grand t. redacted" in content | | `d032b8a` | "grand t. redacted" in content | | `8c26061` | "grand t. redacted" in content | | `2849477` | "grand t. redacted" in content + **message** "Run Grand T. REDACTED VI from first boot into the world" | | `ff8694a` | "grand t. redacted" in content | | `ffe310e` | "grand t. redacted" in content | | `6a2d9f9` | "grand t. redacted" in content | | `12caefe` | "take redacted" in content (verify — may be benign substring) | | `578d459` | **message** "victory-redacted6: this fork's changes..." + "redacted6" in content | | `4e17478` | the removal commit itself (strings diffable via `-S`) | Reproduce: ``` git log --all --oneline -i -S"grand t. <redacted>" git log --all --oneline -i -S"<redacted>6" git log --all --oneline -i -S"take two" ``` ## Proposed fix Rewrite history with [`git filter-repo`](https://github.com/newren/git-filter-repo) using a replace-text file (applied to both file contents and commit messages) put actual name in <redacted> block (case sensitive): ``` g<redacted> 6==>REDACTED g<redacted>6==>REDACTED G<REDACTED> 6==>REDACTED g<REDACTED>6==>REDACTED G<REDACTED> VI==>REDACTED grand t<redacted>==>REDACTED Grand T<redacted>==>REDACTED Grand T<redacted> VI==>REDACTED g<redacted>6-test-folder==>REDACTED take t...==>REDACTED Take-T...==>REDACTED take-t...==>REDACTED Take T...==>REDACTED ``` then force-push `main`. ## Checks 1. Head contains contains the identical tree (zero content diff vs `main` state before changes) with all potentially trademarked strings removed from every commit's content and message. Verification to perform: - `git log -i -S"<redacted>" branch_name` → clean - `git log -i --grep="<redacted>" branch_name` → clean - `git log -i --grep="grand t." branch_name` → clean - `git 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 the world" → `f10e6a0` "Run REDACTED from first boot into the world" (body, author, date, and all 107 changed files preserved). ## Aftermath to be aware of - All descendants of rewritten commits get new SHAs; contributors and open PRs must re-clone or carefully rebase after the force-push. - Pre-existing forks keep the old history permanently. Somewhere outide of project i can just give actual .txt (if needed) and have local branch prepared
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Zettrox/ztrx#104
No description provided.