(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs:(LhsName name:bases) op:Equal rhs:{(SQ )} spids:[22]) (assign_pair lhs:(LhsName name:head) op:Equal rhs:{(SQ )} spids:[24]) (assign_pair lhs:(LhsName name:remotes) op:Equal rhs:{(SQ )} spids:[26]) (assign_pair lhs:(LhsName name:sep_seen) op:Equal rhs:{(SQ )} spids:[28]) ] spids: [22] ) (ForEach iter_name: arg do_arg_iter: True body: (DoGroup children: [ (Case to_match: { (DQ (",") ($ VSub_Name "$sep_seen") (",") ($ VSub_Name "$head") (",") ($ VSub_Name "$arg") (",") ) } arms: [ (case_arm pat_list: [{(Lit_Other "*") (Lit_Comma ",") (--) (Lit_Comma ",")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sep_seen) op: Equal rhs: {(yes)} spids: [59] ) ] spids: [59] ) ] spids: [52 56 63 -1] ) (case_arm pat_list: [{(Lit_Comma ",") (yes) (Lit_Comma ",") (Lit_Comma ",") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:head) op: Equal rhs: {($ VSub_Name "$arg")} spids: [74] ) ] spids: [74] ) ] spids: [66 71 78 -1] ) (case_arm pat_list: [{(Lit_Comma ",") (yes) (Lit_Comma ",") (Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:remotes) op: Equal rhs: {(DQ ($ VSub_Name "$remotes") ($ VSub_Name "$arg") (" "))} spids: [88] ) ] spids: [88] ) ] spids: [81 85 96 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bases) op: Equal rhs: {(DQ ($ VSub_Name "$bases") ($ VSub_Name "$arg") (" "))} spids: [103] ) ] spids: [103] ) ] spids: [99 100 111 -1] ) ] spids: [37 49 114] ) ] spids: [34 116] ) spids: [-1 -1] ) (Case to_match: {(DQ ($ VSub_Name "$remotes"))} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*") (SQ <" ">) (Lit_Other "?") (Lit_Other "*")}] action: [(C {(exit)} {(2)})] spids: [130 137 144 -1] ) ] spids: [122 128 146] ) (If arms: [ (if_arm cond: [(C {(test)} {(SQ )} {(Lit_Other "=")} {(DQ ($ VSub_Name "$bases"))})] action: [(C {(exit)} {(2)})] spids: [-1 165] ) ] spids: [-1 172] ) (C {(git)} {(update-index)} {(-q)} {(--refresh)}) (AndOr children: [ (C {(git)} {(read-tree)} {(-u)} {(-m)} {(--aggressive)} {($ VSub_Name "$bases")} {($ VSub_Name "$head")} {($ VSub_Name "$remotes")} ) (C {(exit)} {(2)}) ] op_id: Op_DPipe ) (C {(echo)} {(DQ ("Trying simple merge."))}) (If arms: [ (if_arm cond: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result_tree) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{(git)} {(write-tree)}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [219] ) ] ) ] ) left_token: <Left_CommandSub "$("> spids: [214 221] ) } spids: [213] ) ] spids: [213] ) ] action: [(C {(exit)} {(0)})] spids: [-1 223] ) ] else_action: [ (C {(echo)} {(DQ ("Simple merge failed, trying Automatic merge."))}) (If arms: [ (if_arm cond: [(C {(git-merge-index)} {(-o)} {(git-merge-one-file)} {(-a)})] action: [(C {(exit)} {(0)})] spids: [-1 251] ) ] else_action: [(C {(exit)} {(1)})] spids: [259 267] ) ] spids: [230 269] ) ] )