Skip to content

chore: remove stale .gitmodules left over from the pathogen era - #3

Open
brujoand-agent[bot] wants to merge 1 commit into
masterfrom
chore/drop-stale-gitmodules
Open

chore: remove stale .gitmodules left over from the pathogen era#3
brujoand-agent[bot] wants to merge 1 commit into
masterfrom
chore/drop-stale-gitmodules

Conversation

@brujoand-agent

Copy link
Copy Markdown
Contributor

Why

Third-party vim plugin code should never be tracked in this repo — and since the vim-plug migration (79b9d15, "Use vim-plug in stead of pathogen, because fuck git submodules") it hasn't been: there are zero gitlink entries in the index (git ls-files -s | awk '$1==160000' is empty) and plugins live in the gitignored config/nvim/plugged/.

But .gitmodules was never deleted, so 17 dead nvim/bundle/* entries (all git@github.com: SSH URLs) still advertise submodules that don't exist. Anything that trusts the file — git submodule update --init, CI submodules: recursive, tooling, docs — is misled; the repo's own CLAUDE.md still claimed the submodules were required.

What

  • Delete the stale .gitmodules (pure metadata removal — no tree content changes, nothing new is tracked or untracked).
  • Fix the CLAUDE.md gotcha: no submodules; plugins are vim-plug managed, declared in config/nvim/init.vim, cloned into gitignored config/nvim/plugged/.

Verification

  • pre-commit run --files CLAUDE.md .gitmodules: all applicable hooks pass. (A full --all-files run fails only on the Docker-based ShellCheck hook, which cannot run on this host — the agent user has no Docker socket access; no shell files are touched by this PR.)

🤖 Generated with Claude Code

The migration to vim-plug (79b9d15) removed every gitlink from the index
but left .gitmodules behind. Its 17 nvim/bundle/* entries point at paths
that no longer exist in the tree, with git@github.com: SSH URLs no
checkout here can fetch. Plugins are declared in config/nvim/init.vim
and cloned by vim-plug into the gitignored config/nvim/plugged/.

Also corrects the CLAUDE.md gotcha that still claimed the submodules
exist.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

0 participants