fix: remove dead webapp/ gitlink on main (commit 404s, no .gitmodules) #4
Reference in New Issue
Block a user
Delete Branch "devin/1776592521-remove-dead-webapp-gitlink"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The repo tree on
maincontained awebappentry recorded as a gitlink (mode 160000) pointing at commitdac160403d46840febbcd9ab07546e76faa34c5f:That commit is not reachable anywhere on Gitea:
There is no
.gitmodulesregistering it as a submodule either, so the gitlink is orphaned:git clone --recurse-submodulesfails, CI cannot populatewebapp/, and editors show an empty directory with no way to fix it without the missing commit.Fix
git rm --cached webapp-- drop the dangling gitlink from the index. No other files touched.Why this is safe
The Solace Bank Group PLC portal work on branch
devin/1776532671-solace-bank-portal(#2) lives at the repository root (Vite/React/TS app), sowebapp/is no longer the intended home for the frontend regardless. If a webapp subtree is ever reintroduced it should be added properly -- either as a regular directory or as a gitlink with a matching.gitmodulesentry.No runtime code is affected by this change.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.