1 Commits

Author SHA1 Message Date
259fc62cc3 fix(split): stage deploy root files only if present for git add
**Motivations:**
- split script failed after subtree split when optional root files (e.g. .dockerignore) were missing on branch test

**Root causes:**
- git add with a missing path in the list fails entirely and stages nothing; git commit then fails under set -e

**Correctifs:**
- add each copied file only if it exists in the deploy repo; skip commit if index empty

**Evolutions:**
- none

**Pages affectées:**
- setup/split-lecoffre-ng-to-five-repos.sh
2026-03-21 18:34:47 +01:00