fix: remove dead webapp/ gitlink on main (commit 404s, no .gitmodules) #4

Merged
nsatoshi merged 0 commits from devin/1776592521-remove-dead-webapp-gitlink into main 2026-04-22 10:11:30 -07:00
Owner

Problem

The repo tree on main contained a webapp entry recorded as a gitlink (mode 160000) pointing at commit dac160403d46840febbcd9ab07546e76faa34c5f:

$ git ls-files --stage | grep 160000
160000 dac160403d46840febbcd9ab07546e76faa34c5f 0	webapp

That commit is not reachable anywhere on Gitea:

$ curl -I https://gitea.d-bis.org/d-bis/CurrenciCombo/commit/dac160403d...
HTTP/2 404

There is no .gitmodules registering it as a submodule either, so the gitlink is orphaned: git clone --recurse-submodules fails, CI cannot populate webapp/, 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), so webapp/ 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 .gitmodules entry.

No runtime code is affected by this change.

## Problem The repo tree on `main` contained a `webapp` entry recorded as a **gitlink** (mode 160000) pointing at commit `dac160403d46840febbcd9ab07546e76faa34c5f`: ``` $ git ls-files --stage | grep 160000 160000 dac160403d46840febbcd9ab07546e76faa34c5f 0 webapp ``` That commit is not reachable anywhere on Gitea: ``` $ curl -I https://gitea.d-bis.org/d-bis/CurrenciCombo/commit/dac160403d... HTTP/2 404 ``` There is no `.gitmodules` registering it as a submodule either, so the gitlink is **orphaned**: `git clone --recurse-submodules` fails, CI cannot populate `webapp/`, 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), so `webapp/` 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 `.gitmodules` entry. No runtime code is affected by this change.
nsatoshi merged commit 9f1e919dac into main 2026-04-22 10:11:30 -07:00
nsatoshi deleted branch devin/1776592521-remove-dead-webapp-gitlink 2026-04-22 10:11:38 -07:00
Sign in to join this conversation.