t / t1013-read-tree-submodule.shon commit receive-pack: do not reuse old_sha1[] for other things (c09b71c)
   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