Repository navigation
fix(gitignore): root-anchor the Transifex CLI tx ignore pattern - #825
Merged
QuantumExplorer merged 1 commit intoJul 16, 2026
Merged
Conversation
The bare `tx` pattern (added in 2e34e82 to ignore a locally downloaded Transifex CLI binary) also matched the tracked source directories DashWallet/Sources/UI/Tx/ and DashWallet/Sources/Models/Tx/ on case-insensitive filesystems (core.ignorecase=true, the macOS default). Existing tracked files were unaffected, but any NEW file created under those directories was silently ignored — this bit RawTransactionView.swift on PR #824, which had to be force-added. Anchor the pattern to the repo root as `/tx`, which is where the CLI binary lands. Verified: - git check-ignore DashWallet/Sources/UI/Tx/Details/RawTransactionView.swift no longer matches - a new probe file under Sources/UI/Tx/ now shows up in git status - a root-level `tx` file is still ignored Co-Authored-By: Claude Fable 5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Problem
.gitignoreline 57 was a baretxpattern, added in 2e34e82 ("chore: add Transifex CLI binary to .gitignore") to keep a locally downloaded Transifex CLI binary out of the repo.Because macOS repos default to
core.ignorecase=true, the unanchored pattern also matched the tracked source directoriesDashWallet/Sources/UI/Tx/andDashWallet/Sources/Models/Tx/. Existing tracked files were unaffected, but any new file created under those directories was silently invisible togit status/git add— this bit #824, whereRawTransactionView.swifthad to be force-added.Fix
Anchor the pattern to the repo root (
/tx), which is where the CLI binary lands, and note the hazard in the comment.Verification
git check-ignore DashWallet/Sources/UI/Tx/Details/RawTransactionView.swiftno longer matches (exit 1)Sources/UI/Tx/now appears ingit statusas untrackedtxfile is still ignored (.gitignore:58:/tx)git statusotherwise clean;findshows no othertx-named paths in the tree that relied on the broad pattern🤖 Generated with Claude Code