Skip to content

Remove the stray gitlink pointing at the repo itself - #67

Merged
lfittl merged 1 commit into
lfittl:masterfrom
tremendous-rewards:lm/remove-stray-gitlink
Aug 13, 2026
Merged

Remove the stray gitlink pointing at the repo itself#67
lfittl merged 1 commit into
lfittl:masterfrom
tremendous-rewards:lm/remove-stray-gitlink

Conversation

@lucasmazza

Copy link
Copy Markdown
Contributor

master currently carries a gitlink at the repository root:

160000 commit 7c3625ff53eefd2a63d12cec3ac61b1974ad6d8f	activerecord-clean-db-structure

It points at commit 7c3625f of this same repository and has no matching .gitmodules entry. It came in with d05d9ac, most likely an accidental git add.

Gems installed from RubyGems are unaffected, which is why this has gone unnoticed — but it breaks every git-sourced install. Bundler runs git submodule foreach after cloning, which aborts with:

fatal: No url found for submodule path 'activerecord-clean-db-structure' in .gitmodules

Bundler retries and then fails the install outright, so gem "activerecord-clean-db-structure", github: "lfittl/activerecord-clean-db-structure" cannot resolve today. That also blocks the usual way of testing a pull request against a real application, which is how I ran into it.

Split out of #66 as requested — I'll rebase that branch to drop this commit once this one lands.

Commit d05d9ac added a gitlink (mode 160000) at `activerecord-clean-db-structure`
pointing at an earlier commit of this same repository, with no matching
.gitmodules entry.

Released gems are unaffected, so this went unnoticed, but it breaks every
git-sourced install. Bundler runs `git submodule foreach` after cloning, which
aborts with "No url found for submodule path", so a Gemfile using
`gem "activerecord-clean-db-structure", github: ...` cannot install at all.
That also blocks the usual way of testing a pull request against a real app.

@lfittl lfittl left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for catching this!

@lfittl
lfittl merged commit fb2ba43 into lfittl:master Aug 13, 2026
2 checks passed
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.

2 participants