(command.CommandList
  children: [
    (command.Simple
      blame_tok: <Id.Lit_Colon ':'>
      more_env: []
      words: [{<Id.Lit_Colon ':'>} {<Included>} {<from>} {<t1000-read-tree-m-3way.sh>} {<and>} {<others>}]
      redirects: []
      do_fork: T
    )
    (command.Simple blame_tok:<mkdir> more_env:[] words:[{<mkdir>} {<Z>}] redirects:[] do_fork:T)
    (command.ForEach
      keyword: <Id.KW_For for>
      iter_names: [a]
      iterable: (for_iter.Words words:[{<N>} {<D>} {<M>}])
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.ForEach
              keyword: <Id.KW_For for>
              iter_names: [b]
              iterable: (for_iter.Words words:[{<N>} {<D>} {<M>}])
              body: 
                (command.DoGroup
                  left: <Id.KW_Do do>
                  children: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'p='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'p='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'p='> name:p)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName a) ($ Id.VSub_DollarName b)}
                        )
                      ]
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <echo>
                      more_env: []
                      words: [
                        {<echo>}
                        {<This>}
                        {<is>}
                        {($ Id.VSub_DollarName p)}
                        {<from>}
                        {<the>}
                        {<original>}
                        {<tree.>}
                      ]
                      redirects: [
                        (Redir
                          op: <Id.Redir_Great '>'>
                          loc: (redir_loc.Fd fd:1)
                          arg: {($ Id.VSub_DollarName p)}
                        )
                      ]
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <echo>
                      more_env: []
                      words: [
                        {<echo>}
                        {<This>}
                        {<is>}
                        {<'Z/'> ($ Id.VSub_DollarName p)}
                        {<from>}
                        {<the>}
                        {<original>}
                        {<tree.>}
                      ]
                      redirects: [
                        (Redir
                          op: <Id.Redir_Great '>'>
                          loc: (redir_loc.Fd fd:1)
                          arg: {<'Z/'> ($ Id.VSub_DollarName p)}
                        )
                      ]
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <test_expect_success>
                      more_env: []
                      words: [
                        {<test_expect_success>}
                        {
                          (DQ <'adding test file '> ($ Id.VSub_DollarName p) <' and Z/'> 
                            ($ Id.VSub_DollarName p)
                          )
                        }
                        {
                          (SQ <'git update-index --add $p &&\n'> <'\t    git update-index --add Z/$p'>)
                        }
                      ]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  right: <Id.KW_Done done>
                )
              redirects: []
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {<This>} {<is>} {<SS>} {<from>} {<the>} {<original>} {<tree.>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<SS>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [{<test_expect_success>} {(SQ <'adding test file SS'>)} {(SQ <'git update-index --add SS'>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <cat>
      more_env: []
      words: [{<cat>}]
      redirects: [
        (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<TT>})
        (Redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'> ch:E) <OF>}
              here_end_tok: <Id.Undefined_Tok ''>
              stdin_parts: [
                <'This is a trivial merge sample text.\n'>
                <'Branch A is expected to upcase this word, here.\n'>
                <'There are some filler lines to avoid diff context\n'>
                <'conflicts here,\n'>
                <'like this one,\n'>
                <'and this one,\n'>
                <'and this one is yet another one of them.\n'>
                <'At the very end, here comes another line, that is\n'>
                <'the word, expected to be upcased by Branch B.\n'>
                <'This concludes the trivial merge sample file.\n'>
              ]
            )
        )
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [{<test_expect_success>} {(SQ <'adding test file TT'>)} {(SQ <'git update-index --add TT'>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [{<test_expect_success>} {(SQ <'prepare initial tree'>)} {(SQ <'tree_O=$(git write-tree)'>)}]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'to_remove='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'to_remove='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'to_remove='> name:to_remove)
          op: assign_op.Equal
          rhs: 
            {
              (CommandSub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.Simple
                    blame_tok: <echo>
                    more_env: []
                    words: [{<echo>} {<D> <Id.Lit_QMark '?'>} {<'Z/D'> <Id.Lit_QMark '?'>}]
                    redirects: []
                    do_fork: T
                  )
                right: <Id.Eof_RParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [{<rm>} {<-f>} {($ Id.VSub_DollarName to_remove)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'change in branch A (removal)'>)}
        {(SQ <'git update-index --remove $to_remove'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.ForEach
      keyword: <Id.KW_For for>
      iter_names: [p]
      iterable: (for_iter.Words words:[{<M> <Id.Lit_QMark '?'>} {<'Z/M'> <Id.Lit_QMark '?'>}])
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [
                {<echo>}
                {<This>}
                {<is>}
                {<modified>}
                {($ Id.VSub_DollarName p)}
                {<Id.KW_In in>}
                {<the>}
                {<branch>}
                {<A.>}
              ]
              redirects: [
                (Redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {($ Id.VSub_DollarName p)}
                )
              ]
              do_fork: T
            )
            (command.Simple
              blame_tok: <test_expect_success>
              more_env: []
              words: [
                {<test_expect_success>}
                {(SQ <'change in branch A (modification)'>)}
                {(DQ <'git update-index '> ($ Id.VSub_DollarName p))}
              ]
              redirects: []
              do_fork: T
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
    (command.ForEach
      keyword: <Id.KW_For for>
      iter_names: [p]
      iterable: (for_iter.Words words:[{<AN>} {<AA>} {<'Z/AN'>} {<'Z/AA'>}])
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [
                {<echo>}
                {<This>}
                {<is>}
                {<added>}
                {($ Id.VSub_DollarName p)}
                {<Id.KW_In in>}
                {<the>}
                {<branch>}
                {<A.>}
              ]
              redirects: [
                (Redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {($ Id.VSub_DollarName p)}
                )
              ]
              do_fork: T
            )
            (command.Simple
              blame_tok: <test_expect_success>
              more_env: []
              words: [
                {<test_expect_success>}
                {(SQ <'change in branch A (addition)'>)}
                {(DQ <'git update-index --add '> ($ Id.VSub_DollarName p))}
              ]
              redirects: []
              do_fork: T
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {<This>} {<is>} {<SS>} {<from>} {<the>} {<modified>} {<tree.>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<SS>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {<This>} {<is>} {<LL>} {<from>} {<the>} {<modified>} {<tree.>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<LL>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'change in branch A (addition)'>)}
        {(SQ <'git update-index --add LL &&\n'> <'     git update-index SS'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <mv>
      more_env: []
      words: [{<mv>} {<TT>} {<TT->}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <sed>
      more_env: []
      words: [{<sed>} {<-e>} {(SQ <'/Branch A/s/word/WORD/g'>)}]
      redirects: [
        (Redir op:<Id.Redir_Less '<'> loc:(redir_loc.Fd fd:0) arg:{<TT->})
        (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<TT>})
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [{<rm>} {<-f>} {<TT->}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [{<test_expect_success>} {(SQ <'change in branch A (edit)'>)} {(SQ <'git update-index TT'>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <mkdir>
      more_env: []
      words: [{<mkdir>} {<DF>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [
        {<echo>}
        {<Branch>}
        {<A>}
        {<makes>}
        {<a>}
        {<file>}
        {<at>}
        {<'DF/DF'> <Id.Lit_Comma ','>}
        {<creating>}
        {<a>}
        {<directory>}
        {<DF.>}
      ]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'DF/DF'>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'change in branch A (change file to directory)'>)}
        {(SQ <'git update-index --add DF/DF'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'recording branch A tree'>)}
        {(SQ <'tree_A=$(git write-tree)'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [
        {<rm>}
        {<-rf>}
        {<Id.Lit_LBracket '['> <NDMASLT> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <NDMASLT> 
          <Id.Lit_RBracket ']'>
        }
        {<Z>}
        {<DF>}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple blame_tok:<mkdir> more_env:[] words:[{<mkdir>} {<Z>}] redirects:[] do_fork:T)
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'reading original tree and checking out'>)}
        {(SQ <'git read-tree $tree_O &&\n'> <'     git checkout-index -a'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'to_remove='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'to_remove='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'to_remove='> name:to_remove)
          op: assign_op.Equal
          rhs: 
            {
              (CommandSub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.Simple
                    blame_tok: <echo>
                    more_env: []
                    words: [{<echo>} {<Id.Lit_QMark '?'> <D>} {<'Z/'> <Id.Lit_QMark '?'> <D>}]
                    redirects: []
                    do_fork: T
                  )
                right: <Id.Eof_RParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [{<rm>} {<-f>} {($ Id.VSub_DollarName to_remove)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'change in branch B (removal)'>)}
        {(DQ <'git update-index --remove '> ($ Id.VSub_DollarName to_remove))}
      ]
      redirects: []
      do_fork: T
    )
    (command.ForEach
      keyword: <Id.KW_For for>
      iter_names: [p]
      iterable: (for_iter.Words words:[{<Id.Lit_QMark '?'> <M>} {<'Z/'> <Id.Lit_QMark '?'> <M>}])
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [
                {<echo>}
                {<This>}
                {<is>}
                {<modified>}
                {($ Id.VSub_DollarName p)}
                {<Id.KW_In in>}
                {<the>}
                {<branch>}
                {<B.>}
              ]
              redirects: [
                (Redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {($ Id.VSub_DollarName p)}
                )
              ]
              do_fork: T
            )
            (command.Simple
              blame_tok: <test_expect_success>
              more_env: []
              words: [
                {<test_expect_success>}
                {(SQ <'change in branch B (modification)'>)}
                {(DQ <'git update-index '> ($ Id.VSub_DollarName p))}
              ]
              redirects: []
              do_fork: T
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
    (command.ForEach
      keyword: <Id.KW_For for>
      iter_names: [p]
      iterable: (for_iter.Words words:[{<NA>} {<AA>} {<'Z/NA'>} {<'Z/AA'>}])
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [
                {<echo>}
                {<This>}
                {<is>}
                {<added>}
                {($ Id.VSub_DollarName p)}
                {<Id.KW_In in>}
                {<the>}
                {<branch>}
                {<B.>}
              ]
              redirects: [
                (Redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {($ Id.VSub_DollarName p)}
                )
              ]
              do_fork: T
            )
            (command.Simple
              blame_tok: <test_expect_success>
              more_env: []
              words: [
                {<test_expect_success>}
                {(SQ <'change in branch B (addition)'>)}
                {(DQ <'git update-index --add '> ($ Id.VSub_DollarName p))}
              ]
              redirects: []
              do_fork: T
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {<This>} {<is>} {<SS>} {<from>} {<the>} {<modified>} {<tree.>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<SS>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {<This>} {<is>} {<LL>} {<from>} {<the>} {<modified>} {<tree.>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<LL>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'change in branch B (addition and modification)'>)}
        {(SQ <'git update-index --add LL &&\n'> <'     git update-index SS'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <mv>
      more_env: []
      words: [{<mv>} {<TT>} {<TT->}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <sed>
      more_env: []
      words: [{<sed>} {<-e>} {(SQ <'/Branch B/s/word/WORD/g'>)}]
      redirects: [
        (Redir op:<Id.Redir_Less '<'> loc:(redir_loc.Fd fd:0) arg:{<TT->})
        (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<TT>})
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [{<rm>} {<-f>} {<TT->}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'change in branch B (modification)'>)}
        {(SQ <'git update-index TT'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {<Branch>} {<B>} {<makes>} {<a>} {<file>} {<at>} {<DF.>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<DF>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'change in branch B (addition of a file to conflict with directory)'>)}
        {(SQ <'git update-index --add DF'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'recording branch B tree'>)}
        {(SQ <'tree_B=$(git write-tree)'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'keep contents of 3 trees for easy access'>)}
        {
          (SQ <'rm -f .git/index &&\n'> <'     git read-tree $tree_O &&\n'> <'     mkdir .orig-O &&\n'> 
            <'     git checkout-index --prefix=.orig-O/ -f -q -a &&\n'> <'     rm -f .git/index &&\n'> <'     git read-tree $tree_A &&\n'> <'     mkdir .orig-A &&\n'> 
            <'     git checkout-index --prefix=.orig-A/ -f -q -a &&\n'> <'     rm -f .git/index &&\n'> <'     git read-tree $tree_B &&\n'> <'     mkdir .orig-B &&\n'> 
            <'     git checkout-index --prefix=.orig-B/ -f -q -a'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
  ]
)