Stefan Beller <sbeller@xxxxxxxxxx> writes: > *this patch* > > * Documentation shamelessly stolen from Junio. You stole it, and then ... > +test_expect_success 'showing the superproject correctly' ' > + git rev-parse --show-superproject-working-tree >out && > + test_must_be_empty out && ... made sure that the newly documented behaviour is tested as a feature. Good. > + test_create_repo super && > + test_commit -C super test_commit && > + test_create_repo sub && > + test_commit -C sub test_commit && > + git -C super submodule add ../sub dir/sub && > + echo $(pwd)/super >expect && > + git -C super/dir/sub rev-parse --show-superproject-working-tree >out && > + test_cmp expect out > +' > +