(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test_description) op: Equal rhs: {(SQ <"git rev-list involving submodules that this repo has">)} spids: [13] ) ] spids: [13] ) (C {(.)} {(./test-lib.sh)}) (C {(test_expect_success)} {(SQ <setup>)} { (SQ <"\n"> <"\t: > file &&\n"> <"\tgit add file &&\n"> <"\ttest_tick &&\n"> <"\tgit commit -m initial &&\n"> <"\techo 1 > file &&\n"> <"\ttest_tick &&\n"> <"\tgit commit -m second file &&\n"> <"\techo 2 > file &&\n"> <"\ttest_tick &&\n"> <"\tgit commit -m third file &&\n"> <"\n"> <"\trm .git/index &&\n"> <"\n"> <"\t: > super-file &&\n"> <"\tgit add super-file &&\n"> <"\tgit submodule add \"$(pwd)\" sub &&\n"> <"\tgit symbolic-ref HEAD refs/heads/super &&\n"> <"\ttest_tick &&\n"> <"\tgit commit -m super-initial &&\n"> <"\techo 1 > super-file &&\n"> <"\ttest_tick &&\n"> <"\tgit commit -m super-first super-file &&\n"> <"\techo 2 > super-file &&\n"> <"\ttest_tick &&\n"> <"\tgit commit -m super-second super-file\n"> ) } ) (C {(test_expect_success)} {(DQ ("Ilari's test"))} {(SQ <"\n"> <"\tgit rev-list --objects super master ^super^\n">)} ) (C {(test_done)}) ] )