~bigbes/sourcehut-root: 983bb99b

fix: build-index.sh — accept .git gitlinks, not just directories

After `git submodule absorbgitdirs`, each subproject's worktree contains
a .git *file* pointing into .git/modules/<name>/, not a .git directory.
The old `find -type d` test silently skipped every submodule, leaving
INDEX.md empty of repo content. Widen the type filter to both files and
directories so submodule-backed clones are detected too.

Eugene Blikh <bigbes@gmail.com> — 2026-05-19 10:12:47 UTC

Commit 983bb99b7ddcfdd8f8e5aceec1ec8439eed45debview raw patch

Parent(s): 76024fae

2 changed file(s)

FileStatus+
.claude/INDEX.md M +624 -1
.claude/scripts/build-index.sh M +4 -2