Skip to content

fix(gitignore): root-anchor the Transifex CLI tx ignore pattern - #825

Merged
QuantumExplorer merged 1 commit into
swift-sdk-integrationfrom
claude/awesome-williamson-96e360
Jul 16, 2026
Merged

QuantumExplorer merged 1 commit into
swift-sdk-integrationfrom
claude/awesome-williamson-96e360

Conversation

@QuantumExplorer

Copy link
Copy Markdown
Member

Problem

.gitignore line 57 was a bare tx pattern, 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 directories DashWallet/Sources/UI/Tx/ and DashWallet/Sources/Models/Tx/. Existing tracked files were unaffected, but any new file created under those directories was silently invisible to git status / git add — this bit #824, where RawTransactionView.swift had 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.swift no longer matches (exit 1)
  • A probe file created under Sources/UI/Tx/ now appears in git status as untracked
  • A root-level tx file is still ignored (.gitignore:58:/tx)
  • git status otherwise clean; find shows no other tx-named paths in the tree that relied on the broad pattern

🤖 Generated with Claude Code

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]>
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 08cb7e0f-2ff3-4307-bc36-fb3def41363e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/awesome-williamson-96e360

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@QuantumExplorer
QuantumExplorer merged commit 24a4bc1 into swift-sdk-integration Jul 16, 2026
1 check failed
@QuantumExplorer
QuantumExplorer deleted the claude/awesome-williamson-96e360 branch August 7, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant