Emily Shaffer <emilyshaffer@xxxxxxxxxx> writes: > + test . -ef "$(git -C sub1 config submodule.superprojectGitDir)" && Unfortunately "test f1 -ef f2", "test f1 -nt f2", etc. are not part of POSIX. When in doubt, check https://pubs.opengroup.org/onlinepubs/9699919799/utilities/toc.html Thanks.