(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test_description) op: Equal rhs: {(SQ <'bisect can handle submodules'>)} spids: [4] ) ] spids: [4] ) (C {(.)} {(./test-lib.sh)}) (C {(.)} {(DQ ($ VSub_Name '$TEST_DIRECTORY')) (/lib-submodule-update.sh)}) (FuncDef name: git_bisect body: (BraceGroup children: [ (AndOr ops: [ Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp ] children: [ (SimpleCommand words: [{(git)} {(status)} {(-su)}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(expect)} spids:[36])] ) (SimpleCommand words: [{(ls)} {(-1pR)} {(Lit_Other '*')}] redirects: [(Redir op_id:Redir_DGreat fd:16777215 arg_word:{(expect)} spids:[48])] ) (C {(tar)} {(cf)} {(DQ ($ VSub_Name '$TRASH_DIRECTORY') (/tmp.tar))} {(Lit_Other '*')}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:GOOD) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(git)} {(rev-parse)} {(--verify)} {(HEAD)})] ) left_token: <Left_CommandSub '$('> spids: [69 77] ) } spids: [68] ) ] spids: [68] ) (C {(git)} {(checkout)} {(DQ ($ VSub_Number '$1'))}) (SimpleCommand words: [{(echo)} {(DQ (foo))}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(bar)} spids:[99])] ) (C {(git)} {(add)} {(bar)}) (C {(git)} {(commit)} {(-m)} {(DQ ('bisect bad'))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BAD) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(git)} {(rev-parse)} {(--verify)} {(HEAD)})] ) left_token: <Left_CommandSub '$('> spids: [128 136] ) } spids: [127] ) ] spids: [127] ) (C {(git)} {(reset)} {(--hard)} {(HEAD) (Lit_Other '^') (Lit_Other '^')}) (C {(git)} {(submodule)} {(update)}) (C {(git)} {(bisect)} {(start)}) (C {(git)} {(bisect)} {(good)} {($ VSub_Name '$GOOD')}) (C {(rm)} {(-rf)} {(Lit_Other '*')}) (C {(tar)} {(xf)} {(DQ ($ VSub_Name '$TRASH_DIRECTORY') (/tmp.tar))}) (SimpleCommand words: [{(git)} {(status)} {(-su)}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(actual)} spids:[210])] ) (SimpleCommand words: [{(ls)} {(-1pR)} {(Lit_Other '*')}] redirects: [(Redir op_id:Redir_DGreat fd:16777215 arg_word:{(actual)} spids:[222])] ) (C {(test_cmp)} {(expect)} {(actual)}) (C {(git)} {(bisect)} {(bad)} {($ VSub_Name '$BAD')}) ] ) ] spids: [27] ) spids: [22 26] ) (C {(test_submodule_switch)} {(DQ (git_bisect))}) (C {(test_done)}) ] )