Skip to content

Repo: remove empty dotfiles committed at the root - #1820

Merged
giswqs merged 1 commit into
mainfrom
fix/issue-1819-stray-dotfiles
Nov 12, 2026
Merged

giswqs merged 1 commit into
mainfrom
fix/issue-1819-stray-dotfiles

Conversation

@giswqs

@giswqs giswqs commented Nov 12, 2026

Copy link
Copy Markdown
Member

Commit 0764df9 (#1575) added nine empty placeholder files at the repository root: .bash_profile, .bashrc, .gitconfig, .idea, .profile, .vscode, .zprofile, .zshrc and scripts. Nothing references them.

This removes them. The existing .vscode/ and .idea/ ignore rules only matched directories, which is how the empty files got in, so they now match files too. The shell and git dotfiles are also ignored at the root. scripts is not ignored, since a real scripts/ folder may be wanted later.

No code changes, so no tests.

Fixes #1819

Commit 0764df9 (#1575) added nine empty placeholder files at the root
(.bash_profile, .bashrc, .gitconfig, .idea, .profile, .vscode, .zprofile,
.zshrc, scripts). Remove them. The .vscode/ and .idea/ ignore rules only
matched directories, so make them match files too, and ignore the shell
and git dotfiles at the root.

Fixes #1819
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@giswqs
giswqs merged commit 1fb3a29 into main Nov 12, 2026
6 of 9 checks passed
@giswqs
giswqs deleted the fix/issue-1819-stray-dotfiles branch November 12, 2026 02:20
@github-actions

Copy link
Copy Markdown
Contributor

Code review

No bugs, security, or performance issues in the changed lines. The PR removes nine empty root files and adds root-anchored ignore rules for the shell and git dotfiles. I checked that the nine files are 0 bytes on the base branch, that nothing in the repo references them, and that no tracked or working-tree files exist at the new ignore paths. The PR has no code changes, so the test and cargo xtask ci gates don't apply. There were no prior review threads, so nothing was left out as already raised.

Bugs: None found.

Security: None found.

Performance: None found.

Quality:

  • The .vscode and .idea entries lost their trailing slash, so they now also match a file with that name at any depth, not only directories. The PR body states this intent, and the effect is negligible. Confidence: high that this is correct; low that it matters.
  • The new root-anchored dotfile rules only stop new untracked files from being added. The actual cleanup is the nine deletions. Confidence: high.

AGENTS.md: No violations. The change touches no code, dependencies, assets, or user-visible text.

Change size

Compared: the whole PR against main (merge base 6c33fb8 to PR head af7e8bd).

Measure Value
Files changed 10 (0 added, 1 modified, 9 removed, 0 renamed)
Size before 345 B
Size after 482 B
Total size change +137 B
Path Before After Change
.gitignore 345 B 482 B +137 B
.bash_profile 0 B 0 B 0 B
.bashrc 0 B 0 B 0 B
.gitconfig 0 B 0 B 0 B
.idea 0 B 0 B 0 B
.profile 0 B 0 B 0 B
.vscode 0 B 0 B 0 B
.zprofile 0 B 0 B 0 B
.zshrc 0 B 0 B 0 B
scripts 0 B 0 B 0 B

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.

Empty dotfiles committed to the repository root in #1575

1 participant