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

Open
nsatoshi wants to merge 1 commits from devin/1776592521-remove-dead-webapp-gitlink into main
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 added 1 commit 2026-04-19 09:55:43 +00:00
fix: remove dead webapp/ gitlink (commit 404s, no .gitmodules)
Some checks failed
Code Quality / SonarQube Analysis (pull_request) Failing after 24s
Code Quality / Code Quality Checks (pull_request) Failing after 4s
Security Scan / Dependency Vulnerability Scan (pull_request) Failing after 3s
Security Scan / OWASP ZAP Scan (pull_request) Failing after 5s
f122e977fc
The repo tree on `main` still contained a `webapp` entry recorded as a
gitlink (mode 160000) pointing at commit `dac160403d46840febbcd9ab07546e76faa34c5f`.
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 can't
populate `webapp/`, and editors show an empty directory with no way to
fix it without the missing commit.

The Solace Bank Group PLC portal work on branch
`devin/1776532671-solace-bank-portal` (PR #2) lives at the repository
root (Vite/React/TS app), so `webapp/` is no longer the intended home
for the frontend regardless. Drop the dangling gitlink so the tree is
clean; if a webapp subtree is ever reintroduced it should be added
properly with a live `.gitmodules` entry or as a regular directory.
Some checks failed
Code Quality / SonarQube Analysis (pull_request) Failing after 24s
Code Quality / Code Quality Checks (pull_request) Failing after 4s
Security Scan / Dependency Vulnerability Scan (pull_request) Failing after 3s
Security Scan / OWASP ZAP Scan (pull_request) Failing after 5s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin devin/1776592521-remove-dead-webapp-gitlink:devin/1776592521-remove-dead-webapp-gitlink
git checkout devin/1776592521-remove-dead-webapp-gitlink
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: d-bis/CurrenciCombo#4