interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t7112-reset-submodule.sh

20 lines · 422 bytes Raw Blame History
1#!/bin/sh
2
3test_description='reset can handle submodules'
4
5. ./test-lib.sh
6. "$TEST_DIRECTORY"/lib-submodule-update.sh
7
8KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1
9
10test_submodule_switch_recursing_with_args "reset --keep"
11
12test_submodule_forced_switch_recursing_with_args "reset --hard"
13
14test_submodule_switch "reset --keep"
15
16test_submodule_switch "reset --merge"
17
18test_submodule_forced_switch "reset --hard"
19
20test_done