t / t1013-read-tree-submodule.shon commit use strbuf_complete_line() for adding a newline if needed (a0d4923)
   1#!/bin/sh
   2
   3test_description='read-tree can handle submodules'
   4
   5. ./test-lib.sh
   6. "$TEST_DIRECTORY"/lib-submodule-update.sh
   7
   8test_submodule_switch "git read-tree -u -m"
   9
  10test_submodule_forced_switch "git read-tree -u --reset"
  11
  12test_done