Repository navigation
Remove stray 8 MB PostScript file committed as 'json' (#3144) - #3148
Merged
Merged
Conversation
The repo root tracked a file literally named `json` that is not JSON: it is an 8,103,683-byte PostScript document generated by ImageMagick (%!PS-Adobe-3.0, %%Creator: (ImageMagick), %%Title: (json)). It arrived in 809cef9 ("Fix broken OpticalDetector import in galaxyscope.py", #289), a change unrelated to images, almost certainly a stray ImageMagick output redirect swept into the commit. At 8 MB it was the third-largest tracked file in the repo. Nothing references it (all "json" references in the tree are the language-id string or `import json`), and no packaging/workflow glob picks up the untyped root file (MANIFEST.in only prunes; setuptools include is package-scoped). Clean `git rm`. Note: this removes the blob from HEAD forward; it remains in history, so the pack size is unchanged. A history rewrite (git-filter-repo/BFG) would reclaim it but rewrites shared history and is intentionally out of scope here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3144.
The repo root tracked a file literally named
jsonthat is not JSON — it is an 8,103,683-byte PostScript document from ImageMagick:It arrived in
809cef92("Fix broken OpticalDetector import in galaxyscope.py", #289), unrelated to images — a stray ImageMagick output that got swept into the commit. At 8 MB it was the third-largest tracked file in the repo.Verification before removal
jsonoccurrence in the tree is the language-id string literal orimport json— none point at a root-level file namedjson.MANIFEST.inonly hasprunedirectives; setuptoolsincludeis package-scoped (gitgalaxy,gitgalaxy.*); no workflow globs untyped root files.git rm json.