chore: remove stale .gitmodules left over from the pathogen era - #3
Open
brujoand-agent[bot] wants to merge 1 commit into
Open
chore: remove stale .gitmodules left over from the pathogen era#3brujoand-agent[bot] wants to merge 1 commit into
brujoand-agent[bot] wants to merge 1 commit into
Conversation
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>
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.
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 gitignoredconfig/nvim/plugged/.But
.gitmoduleswas never deleted, so 17 deadnvim/bundle/*entries (allgit@github.com:SSH URLs) still advertise submodules that don't exist. Anything that trusts the file —git submodule update --init, CIsubmodules: recursive, tooling, docs — is misled; the repo's own CLAUDE.md still claimed the submodules were required.What
.gitmodules(pure metadata removal — no tree content changes, nothing new is tracked or untracked).config/nvim/init.vim, cloned into gitignoredconfig/nvim/plugged/.Verification
pre-commit run --files CLAUDE.md .gitmodules: all applicable hooks pass. (A full--all-filesrun 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