(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'test_description='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'test_description='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description)
          op: assign_op.Equal
          rhs: 
            {
              (SQ <'git checkout-index test.\n'> <'\n'> 
                <'This test registers the following filesystem structure in the\n'> <'cache:\n'> <'\n'> <'    path0       - a file\n'> <'    path1/file1 - a file in a directory\n'> <'\n'> 
                <'And then tries to checkout in a work tree that has the following:\n'> <'\n'> <'    path0/file0 - a file in a directory\n'> <'    path1       - a file\n'> <'\n'> 
                <'The git checkout-index command should fail when attempting to checkout\n'> <'path0, finding it is occupied by a directory, and path1/file1, finding\n'> 
                <'path1 is occupied by a non-directory.  With "-f" flag, it should remove\n'> <'the conflicting paths and succeed.\n'>
              )
            }
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [{<.>} {<'./test-lib.sh'>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <date>
      more_env: []
      words: [{<date>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<path0>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <mkdir>
      more_env: []
      words: [{<mkdir>} {<path1>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <date>
      more_env: []
      words: [{<date>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'path1/file1'>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'git update-index --add various paths.'>)}
        {(SQ <'git update-index --add path0 path1/file1'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [{<rm>} {<-fr>} {<path0>} {<path1>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <mkdir>
      more_env: []
      words: [{<mkdir>} {<path0>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <date>
      more_env: []
      words: [{<date>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'path0/file0'>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <date>
      more_env: []
      words: [{<date>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<path1>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'git checkout-index without -f should fail on conflicting work tree.'>)}
        {(SQ <'test_must_fail git checkout-index -a'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'git checkout-index with -f should succeed.'>)}
        {(SQ <'git checkout-index -f -a'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'git checkout-index conflicting paths.'>)}
        {(SQ <'test -f path0 && test -d path1 && test -f path1/file1'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {<SYMLINKS>}
        {(SQ <'checkout-index -f twice with --prefix'>)}
        {
          (SQ <'\n'> <'\tmkdir -p tar/get &&\n'> <'\tln -s tar/get there &&\n'> <'\techo first &&\n'> 
            <'\tgit checkout-index -a -f --prefix=there/ &&\n'> <'\techo second &&\n'> <'\tgit checkout-index -a -f --prefix=there/\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)