Skip to content

ci: speed up submodule update by resolving tips via ls-remote#198

Open
juliusknorr wants to merge 1 commit into
mainfrom
claude/charming-carson-rus7xv
Open

ci: speed up submodule update by resolving tips via ls-remote#198
juliusknorr wants to merge 1 commit into
mainfrom
claude/charming-carson-rus7xv

Conversation

@juliusknorr

Copy link
Copy Markdown
Member

The update-submodules workflow did a full recursive checkout
(submodules: recursive, fetch-depth: 0), cloning every submodule's
entire contents and history just to read each branch's tip commit.

Resolve the tip SHA with 'git ls-remote' instead and update the
gitlink directly in the index with 'git update-index --cacheinfo'.
No submodule content is downloaded, and the parent checkout is now
shallow with submodules disabled.

@juliusknorr juliusknorr requested a review from a team as a code owner June 16, 2026 21:00
@juliusknorr juliusknorr requested review from rikled and removed request for a team June 16, 2026 21:00
The update-submodules workflow did a full recursive checkout
(submodules: recursive, fetch-depth: 0), cloning every submodule's
entire contents and history just to read each branch's tip commit.

Resolve the tip SHA with 'git ls-remote' instead and update the
gitlink directly in the index with 'git update-index --cacheinfo'.
No submodule content is downloaded, and the parent checkout is now
shallow with submodules disabled.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
@juliusknorr juliusknorr force-pushed the claude/charming-carson-rus7xv branch from d2a5125 to ed886ea Compare June 17, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📄 To do

Development

Successfully merging this pull request may close these issues.

2 participants