(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:test_description)
          op: assign_op.Equal
          rhs: {(SQ <'--reverse combines with --parents'>)}
          spids: [4]
        )
      ]
    )
    (C {<.>} {<'./test-lib.sh'>})
    (command.ShFunction
      name: commit
      body: 
        (BraceGroup
          children: [
            (command.AndOr
              ops: [Id.Op_DAmp Id.Op_DAmp Id.Op_DAmp]
              children: [
                (C {<test_tick>})
                (command.Simple
                  words: [{<echo>} {($ Id.VSub_Number '$1')}]
                  redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<foo>})]
                  do_fork: T
                )
                (C {<git>} {<add>} {<foo>})
                (C {<git>} {<commit>} {<-m>} {(DQ ($ Id.VSub_Number '$1'))})
              ]
            )
          ]
        )
    )
    (C {<test_expect_success>} {(SQ <'set up --reverse example'>)} 
      {
        (SQ <'\n'> <'\tcommit one &&\n'> <'\tgit tag root &&\n'> <'\tcommit two &&\n'> 
          <'\tgit checkout -b side HEAD^ &&\n'> <'\tcommit three &&\n'> <'\tgit checkout master &&\n'> <'\tgit merge -s ours side &&\n'> 
          <'\tcommit five\n'> <'\t'>
        )
      }
    )
    (C {<test_expect_success>} {(SQ <'--reverse --parents --full-history combines correctly'>)} 
      {
        (SQ <'\n'> <'\tgit rev-list --parents --full-history master -- foo |\n'> 
          <'\t\tperl -e "print reverse <>" > expected &&\n'> <'\tgit rev-list --reverse --parents --full-history master -- foo \\\n'> <'\t\t> actual &&\n'> 
          <'\ttest_cmp actual expected\n'> <'\t'>
        )
      }
    )
    (C {<test_expect_success>} {(SQ <'--boundary does too'>)} 
      {
        (SQ <'\n'> <'\tgit rev-list --boundary --parents --full-history master ^root -- foo |\n'> 
          <'\t\tperl -e "print reverse <>" > expected &&\n'> <'\tgit rev-list --boundary --reverse --parents --full-history \\\n'> 
          <'\t\tmaster ^root -- foo > actual &&\n'> <'\ttest_cmp actual expected\n'> <'\t'>
        )
      }
    )
    (C {<test_done>})
  ]
)