t / t1009-read-tree-new-index.shon commit subtree: fix AsciiDoc list item continuation (e0a1f09)
   1#!/bin/sh
   2
   3test_description='test read-tree into a fresh index file'
   4
   5. ./test-lib.sh
   6
   7test_expect_success setup '
   8        echo one >a &&
   9        git add a &&
  10        git commit -m initial
  11'
  12
  13test_expect_success 'non-existent index file' '
  14        rm -f new-index &&
  15        GIT_INDEX_FILE=new-index git read-tree master
  16'
  17
  18test_expect_success 'empty index file' '
  19        rm -f new-index &&
  20        > new-index &&
  21        GIT_INDEX_FILE=new-index git read-tree master
  22'
  23
  24test_done
  25