Skip to content

Conversation

@tonistiigi
Copy link
Member

Because subdir filter happened before submodule update it resulted in empty directory being filtered and submodule update being skipped because .gitmodules was already missing.

fix #6138

Because subdir filter happened before the submodule update it
resulted in empty directory being filtered and submodule update
being skipped because .gitmodules was already missing.

Signed-off-by: Tonis Tiigi <[email protected]>
@tonistiigi tonistiigi force-pushed the git-submodule-filter branch from 7c82f1c to cf599d4 Compare August 28, 2025 13:36
@crazy-max
Copy link
Member

crazy-max commented Aug 28, 2025

Small lint issue https://github.com/moby/buildkit/actions/runs/17288544271/job/49070427745?pr=6170#step:3:469 otherwise LGTM

Edit: Nevermind you just fixed it 😅

@tonistiigi tonistiigi merged commit 79c5e53 into moby:master Aug 28, 2025
139 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect build context when using git context with subdir as a submodule

2 participants