On Wed, Mar 28, 2018 at 1:21 PM, Eric Sunshine <sunshine@xxxxxxxxxxxxxx> wrote: > Or, even simpler: > > mv addtest2/repo addtest2/repo.bak && > test_when_finished "mv addtest2/repo.bak addtest2/repo" && > git -C addtest2 submodule status >actual && > grep -e "^-" -e repo actual I like this! Time permitting I'll update the patch (I'll first have to take care of some other series, so feel free to make it into a patch) Thanks, Stefan