Skip to content

git-add: Skip submodules with ignore=all unless --force and explicit path used #25040

git-add: Skip submodules with ignore=all unless --force and explicit path used

git-add: Skip submodules with ignore=all unless --force and explicit path used #25040

Triggered via pull request October 15, 2025 16:06
Status Failure
Total duration 21m 1s
Artifacts 12

main.yml

on: pull_request
win+VS build
0s
win+VS build
win+Meson build
1m 36s
win+Meson build
Matrix: dockerized
Matrix: regular
Matrix: win+VS test
Matrix: win+Meson test
Matrix: win test
Fit to window
Zoom out
Zoom in

Annotations

139 errors and 29 warnings
linux-musl-meson (alpine:latest)
Process completed with exit code 1.
linux-musl-meson (alpine:latest): build/meson-private/tmpzztebtgl/testfile.c#L6
/__w/git/git/build/meson-private/tmpzztebtgl/testfile.c:6:17: 'arc4random_buf' undeclared (first use in this function)
linux-musl-meson (alpine:latest): build/meson-private/tmpwlnqgp64/testfile.c#L4
/__w/git/git/build/meson-private/tmpwlnqgp64/testfile.c:4:12: #error "Header 'sys/sysctl.h' could not be found"
linux-musl-meson (alpine:latest): build/meson-private/tmpf572_mec/testfile.c#L4
/__w/git/git/build/meson-private/tmpf572_mec/testfile.c:4:25: 'struct stat' has no member named 'st_mtimespec'
osx-meson (macos-13)
Process completed with exit code 1.
linux-meson (ubuntu:rolling)
Process completed with exit code 1.
linux-meson (ubuntu:rolling): build/meson-private/tmp6bx09vcu/testfile.c#L4
/__w/git/git/build/meson-private/tmp6bx09vcu/testfile.c:4:12: #error "Header 'sys/sysctl.h' could not be found"
linux-meson (ubuntu:rolling): build/meson-private/tmpq_st4pwt/testfile.c#L4
/__w/git/git/build/meson-private/tmpq_st4pwt/testfile.c:4:25: 'struct stat' has no member named 'st_mtimespec'
fedora-breaking-changes-meson (fedora:latest)
Process completed with exit code 1.
fedora-breaking-changes-meson (fedora:latest): build/meson-private/tmpwg4jm1gi/testfile.c#L4
/__w/git/git/build/meson-private/tmpwg4jm1gi/testfile.c:4:12: #error "Header 'sys/sysctl.h' could not be found"
fedora-breaking-changes-meson (fedora:latest): build/meson-private/tmp3lly7535/testfile.c#L4
/__w/git/git/build/meson-private/tmp3lly7535/testfile.c:4:25: 'struct stat' has no member named 'st_mtimespec'
win+Meson build
Process completed with exit code 1.
static-analysis
Process completed with exit code 2.
documentation
Process completed with exit code 1.
almalinux-8 (almalinux:8)
Process completed with exit code 1.
debian-11 (debian:11)
Process completed with exit code 2.
win test (9)
failed: t4255.18 am_3way: replace directory with submodule
win test (9)
failed: t4255.17 am_3way: replace tracked file with submodule creates empty directory
win test (9)
failed: t4255.13 am: modified submodule does not update submodule work tree from invalid commit
win test (9)
failed: t4255.12 am: modified submodule does not update submodule work tree to invalid commit
win test (9)
failed: t4255.11 am: modified submodule does not update submodule work tree
win test (9)
failed: t4255.8 am: replace submodule containing a .git directory with a directory must fail
win test (9)
failed: t4255.7 am: replace submodule with a directory must fail
win test (9)
failed: t4255.4 am: replace directory with submodule
win test (9)
failed: t4255.3 am: replace tracked file with submodule creates empty directory
win test (9)
failed: t4255.1 am: added submodule creates empty directory
linux32 (i386/ubuntu:focal)
Process completed with exit code 2.
win test (6)
failed: t1013.11 git read-tree -u -m --recurse-submodules: modified submodule updates submodule work tree
win test (6)
failed: t1013.10 git read-tree -u -m --recurse-submodules: worktrees of nested submodules are removed
win test (6)
failed: t1013.8 git read-tree -u -m --recurse-submodules: replace submodule with a file
win test (6)
failed: t1013.7 git read-tree -u -m --recurse-submodules: removed submodule absorbs submodules .git directory
win test (6)
failed: t1013.6 git read-tree -u -m --recurse-submodules: removed submodule removes submodules working tree
win test (6)
failed: t1013.5 git read-tree -u -m --recurse-submodules: nested submodules are checked out
win test (6)
failed: t1013.4 git read-tree -u -m --recurse-submodules: replace directory with submodule
win test (6)
failed: t1013.3 git read-tree -u -m --recurse-submodules: replace tracked file with submodule checks out submodule
win test (6)
failed: t1013.2 git read-tree -u -m --recurse-submodules: added submodule is checked out in empty dir
win test (6)
failed: t1013.1 git read-tree -u -m --recurse-submodules: added submodule is checked out
linux-breaking-changes (ubuntu:rolling)
failed: t1013.11 git read-tree -u -m --recurse-submodules: modified submodule updates submodule work tree
linux-breaking-changes (ubuntu:rolling)
failed: t1013.10 git read-tree -u -m --recurse-submodules: worktrees of nested submodules are removed
linux-breaking-changes (ubuntu:rolling)
failed: t1013.8 git read-tree -u -m --recurse-submodules: replace submodule with a file
linux-breaking-changes (ubuntu:rolling)
failed: t1013.7 git read-tree -u -m --recurse-submodules: removed submodule absorbs submodules .git directory
linux-breaking-changes (ubuntu:rolling)
failed: t1013.6 git read-tree -u -m --recurse-submodules: removed submodule removes submodules working tree
linux-breaking-changes (ubuntu:rolling)
failed: t1013.5 git read-tree -u -m --recurse-submodules: nested submodules are checked out
linux-breaking-changes (ubuntu:rolling)
failed: t1013.4 git read-tree -u -m --recurse-submodules: replace directory with submodule
linux-breaking-changes (ubuntu:rolling)
failed: t1013.3 git read-tree -u -m --recurse-submodules: replace tracked file with submodule checks out submodule
linux-breaking-changes (ubuntu:rolling)
failed: t1013.2 git read-tree -u -m --recurse-submodules: added submodule is checked out in empty dir
linux-breaking-changes (ubuntu:rolling)
failed: t1013.1 git read-tree -u -m --recurse-submodules: added submodule is checked out
win test (5)
failed: t7112.2 git reset --keep --recurse-submodules: added submodule is checked out in empty dir
win test (5)
failed: t7112.1 git reset --keep --recurse-submodules: added submodule is checked out
win test (5)
failed: t3513.13 git_revert: modified submodule does not update submodule work tree from invalid commit
win test (5)
failed: t3513.12 git_revert: modified submodule does not update submodule work tree to invalid commit
win test (5)
failed: t3513.11 git_revert: modified submodule does not update submodule work tree
win test (5)
failed: t3513.8 git_revert: replace submodule containing a .git directory with a directory must fail
win test (5)
failed: t3513.7 git_revert: replace submodule with a directory must fail
win test (5)
failed: t3513.4 git_revert: replace directory with submodule
win test (5)
failed: t3513.3 git_revert: replace tracked file with submodule creates empty directory
win test (5)
failed: t3513.1 git_revert: added submodule creates empty directory
win test (3)
failed: t5572.18 git_pull_ff: replace directory with submodule
win test (3)
failed: t5572.17 git_pull_ff: replace tracked file with submodule creates empty directory
win test (3)
failed: t5572.13 git_pull: modified submodule does not update submodule work tree from invalid commit
win test (3)
failed: t5572.12 git_pull: modified submodule does not update submodule work tree to invalid commit
win test (3)
failed: t5572.11 git_pull: modified submodule does not update submodule work tree
win test (3)
failed: t5572.8 git_pull: replace submodule containing a .git directory with a directory must fail
win test (3)
failed: t5572.7 git_pull: replace submodule with a directory must fail
win test (3)
failed: t5572.4 git_pull: replace directory with submodule
win test (3)
failed: t5572.3 git_pull: replace tracked file with submodule creates empty directory
win test (3)
failed: t5572.1 git_pull: added submodule creates empty directory
linux-sha256 (ubuntu:rolling)
failed: t1013.11 git read-tree -u -m --recurse-submodules: modified submodule updates submodule work tree
linux-sha256 (ubuntu:rolling)
failed: t1013.10 git read-tree -u -m --recurse-submodules: worktrees of nested submodules are removed
linux-sha256 (ubuntu:rolling)
failed: t1013.8 git read-tree -u -m --recurse-submodules: replace submodule with a file
linux-sha256 (ubuntu:rolling)
failed: t1013.7 git read-tree -u -m --recurse-submodules: removed submodule absorbs submodules .git directory
linux-sha256 (ubuntu:rolling)
failed: t1013.6 git read-tree -u -m --recurse-submodules: removed submodule removes submodules working tree
linux-sha256 (ubuntu:rolling)
failed: t1013.5 git read-tree -u -m --recurse-submodules: nested submodules are checked out
linux-sha256 (ubuntu:rolling)
failed: t1013.4 git read-tree -u -m --recurse-submodules: replace directory with submodule
linux-sha256 (ubuntu:rolling)
failed: t1013.3 git read-tree -u -m --recurse-submodules: replace tracked file with submodule checks out submodule
linux-sha256 (ubuntu:rolling)
failed: t1013.2 git read-tree -u -m --recurse-submodules: added submodule is checked out in empty dir
linux-sha256 (ubuntu:rolling)
failed: t1013.1 git read-tree -u -m --recurse-submodules: added submodule is checked out
linux-reftable (ubuntu:rolling)
failed: t1013.11 git read-tree -u -m --recurse-submodules: modified submodule updates submodule work tree
linux-reftable (ubuntu:rolling)
failed: t1013.10 git read-tree -u -m --recurse-submodules: worktrees of nested submodules are removed
linux-reftable (ubuntu:rolling)
failed: t1013.8 git read-tree -u -m --recurse-submodules: replace submodule with a file
linux-reftable (ubuntu:rolling)
failed: t1013.7 git read-tree -u -m --recurse-submodules: removed submodule absorbs submodules .git directory
linux-reftable (ubuntu:rolling)
failed: t1013.6 git read-tree -u -m --recurse-submodules: removed submodule removes submodules working tree
linux-reftable (ubuntu:rolling)
failed: t1013.5 git read-tree -u -m --recurse-submodules: nested submodules are checked out
linux-reftable (ubuntu:rolling)
failed: t1013.4 git read-tree -u -m --recurse-submodules: replace directory with submodule
linux-reftable (ubuntu:rolling)
failed: t1013.3 git read-tree -u -m --recurse-submodules: replace tracked file with submodule checks out submodule
linux-reftable (ubuntu:rolling)
failed: t1013.2 git read-tree -u -m --recurse-submodules: added submodule is checked out in empty dir
linux-reftable (ubuntu:rolling)
failed: t1013.1 git read-tree -u -m --recurse-submodules: added submodule is checked out
linux-TEST-vars (ubuntu:20.04)
Process completed with exit code 2.
linux-asan-ubsan (ubuntu:rolling)
The operation was canceled.
linux-asan-ubsan (ubuntu:rolling)
Canceling since a higher priority waiting request for dockerized-linux-asan-ubsan-ubuntu:rolling-refs/pull/1987/merge exists
linux-leaks (ubuntu:rolling)
The operation was canceled.
linux-leaks (ubuntu:rolling)
Canceling since a higher priority waiting request for dockerized-linux-leaks-ubuntu:rolling-refs/pull/1987/merge exists
linux-reftable-leaks (ubuntu:rolling)
The operation was canceled.
linux-reftable-leaks (ubuntu:rolling)
Canceling since a higher priority waiting request for dockerized-linux-reftable-leaks-ubuntu:rolling-refs/pull/1987/merge exists
win test (8)
failed: t4137.18 apply_3way: replace directory with submodule
win test (8)
failed: t4137.17 apply_3way: replace tracked file with submodule creates empty directory
win test (8)
failed: t4137.13 apply_index: modified submodule does not update submodule work tree from invalid commit
win test (8)
failed: t4137.12 apply_index: modified submodule does not update submodule work tree to invalid commit
win test (8)
failed: t4137.11 apply_index: modified submodule does not update submodule work tree
win test (8)
failed: t4137.8 apply_index: replace submodule containing a .git directory with a directory must fail
win test (8)
failed: t4137.7 apply_index: replace submodule with a directory must fail
win test (8)
failed: t4137.4 apply_index: replace directory with submodule
win test (8)
failed: t4137.3 apply_index: replace tracked file with submodule creates empty directory
win test (8)
failed: t4137.1 apply_index: added submodule creates empty directory
win test (7)
Process completed with exit code 1.
win test (7)
failed: t3512.13 git_test_func: modified submodule does not update submodule work tree from invalid commit
win test (7)
failed: t3512.12 git_test_func: modified submodule does not update submodule work tree to invalid commit
win test (7)
failed: t3512.11 git_test_func: modified submodule does not update submodule work tree
win test (7)
failed: t3512.8 git_test_func: replace submodule containing a .git directory with a directory must fail
win test (7)
failed: t3512.7 git_test_func: replace submodule with a directory must fail
win test (7)
failed: t3512.4 git_test_func: replace directory with submodule
win test (7)
failed: t3512.3 git_test_func: replace tracked file with submodule creates empty directory
win test (7)
failed: t3512.1 git_test_func: added submodule creates empty directory
osx-reftable (macos-13)
The operation was canceled.
osx-reftable (macos-13)
Canceling since a higher priority waiting request for osx-reftable-macos-13-refs/pull/1987/merge exists
osx-gcc (macos-13)
The operation was canceled.
osx-gcc (macos-13)
Canceling since a higher priority waiting request for osx-gcc-macos-13-refs/pull/1987/merge exists
osx-clang (macos-13)
The operation was canceled.
osx-clang (macos-13)
Canceling since a higher priority waiting request for osx-clang-macos-13-refs/pull/1987/merge exists
win test (0)
failed: t2013.17 git checkout --recurse-submodules: modified submodule updates submodule work tree
win test (0)
failed: t2013.16 git checkout --recurse-submodules: worktrees of nested submodules are removed
win test (0)
failed: t2013.14 git checkout --recurse-submodules: replace submodule with a file
win test (0)
failed: t2013.13 git checkout --recurse-submodules: removed submodule absorbs submodules .git directory
win test (0)
failed: t2013.12 git checkout --recurse-submodules: removed submodule removes submodules working tree
win test (0)
failed: t2013.11 git checkout --recurse-submodules: nested submodules are checked out
win test (0)
failed: t2013.10 git checkout --recurse-submodules: replace directory with submodule
win test (0)
failed: t2013.9 git checkout --recurse-submodules: replace tracked file with submodule checks out submodule
win test (0)
failed: t2013.8 git checkout --recurse-submodules: added submodule is checked out in empty dir
win test (0)
failed: t2013.7 git checkout --recurse-submodules: added submodule is checked out
win test (4)
failed: t6438.12 git_test_func: modified submodule does not update submodule work tree to invalid commit
win test (4)
failed: t6438.11 git_test_func: modified submodule does not update submodule work tree
win test (4)
failed: t6438.8 git_test_func: replace submodule containing a .git directory with a directory must fail
win test (4)
failed: t6438.7 git_test_func: replace submodule with a directory must fail
win test (4)
failed: t6438.4 git_test_func: replace directory with submodule
win test (4)
failed: t6438.3 git_test_func: replace tracked file with submodule creates empty directory
win test (4)
failed: t6438.1 git_test_func: added submodule creates empty directory
win test (4)
failed: t3906.8 git_stash: replace submodule containing a .git directory with a directory must fail
win test (4)
failed: t3906.7 git_stash: replace submodule with a directory must fail
win test (4)
failed: t3906.1 git_stash: added submodule creates empty directory
linux-musl-meson (alpine:latest): build/meson-private/tmpv56792rw/testfile.c#L10
/__w/git/git/build/meson-private/tmpv56792rw/testfile.c:10:14: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
linux-musl-meson (alpine:latest)
JGit wasn't installed, see above for clues why
linux-musl-meson (alpine:latest)
git-lfs wasn't installed, see above for clues why
linux-musl-meson (alpine:latest)
perforce wasn't installed, see above for clues why
osx-meson (macos-13)
JGit wasn't installed, see above for clues why
osx-meson (macos-13)
pcre2 10.46 is already installed and up-to-date. To reinstall 10.46, run: brew reinstall pcre2
osx-meson (macos-13)
ninja 1.13.1 is already installed and up-to-date. To reinstall 1.13.1, run: brew reinstall ninja
osx-meson (macos-13)
Already linked: /usr/local/Cellar/gettext/0.26
linux-meson (ubuntu:rolling): build/meson-private/tmpvxtqn1au/testfile.c#L10
/__w/git/git/build/meson-private/tmpvxtqn1au/testfile.c:10:14: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
fedora-breaking-changes-meson (fedora:latest): build/meson-private/tmpz9y_jfdq/testfile.c#L10
/__w/git/git/build/meson-private/tmpz9y_jfdq/testfile.c:10:14: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
fedora-breaking-changes-meson (fedora:latest)
JGit wasn't installed, see above for clues why
fedora-breaking-changes-meson (fedora:latest)
git-lfs wasn't installed, see above for clues why
fedora-breaking-changes-meson (fedora:latest)
perforce wasn't installed, see above for clues why
win+Meson build
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
almalinux-8 (almalinux:8)
JGit wasn't installed, see above for clues why
almalinux-8 (almalinux:8)
git-lfs wasn't installed, see above for clues why
almalinux-8 (almalinux:8)
perforce wasn't installed, see above for clues why
debian-11 (debian:11)
JGit wasn't installed, see above for clues why
debian-11 (debian:11)
git-lfs wasn't installed, see above for clues why
debian-11 (debian:11)
perforce wasn't installed, see above for clues why
linux32 (i386/ubuntu:focal)
JGit wasn't installed, see above for clues why
linux32 (i386/ubuntu:focal)
git-lfs wasn't installed, see above for clues why
linux32 (i386/ubuntu:focal)
perforce wasn't installed, see above for clues why
osx-reftable (macos-13)
JGit wasn't installed, see above for clues why
osx-reftable (macos-13)
Already linked: /usr/local/Cellar/gettext/0.26
osx-gcc (macos-13)
JGit wasn't installed, see above for clues why
osx-gcc (macos-13)
Already linked: /usr/local/Cellar/gettext/0.26
osx-clang (macos-13)
JGit wasn't installed, see above for clues why
osx-clang (macos-13)
Already linked: /usr/local/Cellar/gettext/0.26

Artifacts

Produced during runtime
Name Size Digest
failed-tests-linux-breaking-changes Expired
1.98 MB
sha256:98a5087cfb1b37ae0e08fe6c69777a59cd2f48fbf0205d2c626fc5574b67b64f
failed-tests-linux-reftable Expired
1.93 MB
sha256:1b650b24e988708fa6c7626f9a0c808bb5ee4e2ff4c6d737037084a0bdbf33af
failed-tests-linux-sha256 Expired
1.98 MB
sha256:fbdef11809c3e9904bef4bb08b599dd1daa71a007b8c1f1adab507ba3e822814
failed-tests-windows-0 Expired
834 KB
sha256:24da52bdd0a528279747bb91216417c0d00b9dc9a01156bdca09fd256c035e14
failed-tests-windows-3 Expired
233 KB
sha256:690a39bb55f0f273021e2b683e498772f59d22a9af1ea761a0f1d973ab331d7d
failed-tests-windows-4 Expired
160 KB
sha256:c06ca44c40012ff105d1f4ee271f3c20e2c9f28aea1f05b6560b47b33d2055b7
failed-tests-windows-5 Expired
159 KB
sha256:b4d37ca1b8f3d946257245c0778caa93db1658a60350e9853674dad1073b25d7
failed-tests-windows-6 Expired
161 KB
sha256:8b4063dc4f16d5b54c8c7ddc27f563bd361c15c3d8915bcf9e7a6422283e4985
failed-tests-windows-7 Expired
109 KB
sha256:f9b67de47df280aed04fe975f8edce3e2c6d7bcff62cb8f49005e2c5296d8059
failed-tests-windows-8 Expired
77.6 KB
sha256:0a9ee56453a8d57c0a2c841dad3ef8e07adefd0fd1986556fc3d457cb71dd402
failed-tests-windows-9 Expired
146 KB
sha256:66bffbbb8abfafc01ff0f21c11f3e0ee38b1d70a7809104eef25a81aa61d9efa
windows-artifacts Expired
94.1 MB
sha256:e8cfb980483af656139ecc989a9472eff72832868470979c1a4826e7625ff15c