fix(import): include tracked ignored files

This commit is contained in:
2026-06-02 15:02:19 +01:00
parent e8d4ae392e
commit c7871397d3
4 changed files with 98 additions and 2 deletions

View File

@@ -500,7 +500,7 @@ initial_import() {
mkdir -p "$subfolder"
rsync -a --exclude='.git' "${work_dir}/subrepo/" "${subfolder}/"
git add "$subfolder"
git add -f -- "$subfolder"
if git diff --cached --quiet; then
log "INFO" "No changes — subfolder already matches subrepo"