(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:test_description)
          op: Equal
          rhs: {(SQ <"Tests rebase -i performance">)}
          spids: [4]
        )
      ]
      spids: [4]
    )
    (C {(.)} {(./perf-lib.sh)})
    (C {(test_perf_default_repo)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:branch_merge)
          op: Equal
          rhs: 
            {(ba5312da19c6fdb6c6747d479f58932aae6e900c) (Lit_Other "^") (Lit_LBrace "{") (commit) 
              (Lit_RBrace "}")
            }
          spids: [23]
        )
      ]
      spids: [23]
    )
    (C {(export)} {(branch_merge)})
    (AndOr
      children: [
        (SimpleCommand
          words: [{(git)} {(rev-parse)} {(--verify)} {($ VSub_Name "$branch_merge")}]
          redirects: [
            (Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[43])
            (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[46])
          ]
        )
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:skip_all)
                  op: Equal
                  rhs: {(SQ <"skipping because $branch_merge was not found">)}
                  spids: [54]
                )
              ]
              spids: [54]
            )
            (C {(test_done)})
          ]
          spids: [51]
        )
      ]
      op_id: Op_DPipe
    )
    (SimpleCommand
      words: [{(write_script)} {(swap-first-two.sh)}]
      redirects: [
        (HereDoc
          op_id: Redir_DLess
          fd: -1
          body: 
            {("case \"$1\" in\n") ("*/COMMIT_EDITMSG)\n") ("\tmv \"$1\" \"$1\".bak &&\n") 
              ("\tsed -e '1{h;d}' -e 2G <\"$1\".bak >\"$1\"\n") ("\t;;\n") ("esac\n")
            }
          do_expansion: False
          here_end: EOF
          was_filled: True
          spids: [69]
        )
      ]
    )
    (C {(test_expect_success)} {(SQ <setup>)} 
      {
        (SQ <"\n"> <"\tgit config core.editor \"\\\"$PWD\"/swap-first-two.sh\\\" &&\n"> 
          <"\tgit checkout -f $branch_merge^2\n">
        )
      }
    )
    (C {(test_perf)} {(SQ <"rebase -i">)} {(SQ <"\n"> <"\tgit rebase -i $branch_merge^\n">)})
    (C {(test_done)})
  ]
)