Otherwise you run into errors such as:
"""
../meson.build:2899:28: ERROR: File src/test/test-loop-util.c does not exist.
"""
when deleting a file in git without staging the deletion.
(cherry picked from commit 8355eb6e11)
(cherry picked from commit 06a12ba00b)
(cherry picked from commit 5f80376e16)