We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 280b74c + 40c45f8 commit f43863eCopy full SHA for f43863e
t/t2104-update-index-skip-worktree.sh
@@ -11,27 +11,27 @@ TEST_PASSES_SANITIZE_LEAK=true
11
sane_unset GIT_TEST_SPLIT_INDEX
12
13
test_set_index_version () {
14
- GIT_INDEX_VERSION="$1"
15
- export GIT_INDEX_VERSION
+ GIT_INDEX_VERSION="$1"
+ export GIT_INDEX_VERSION
16
}
17
18
test_set_index_version 3
19
20
-cat >expect.full <<EOF
21
-H 1
22
-H 2
23
-H sub/1
24
-H sub/2
25
-EOF
+test_expect_success 'setup' '
+ cat >expect.full <<-\EOF &&
+ H 1
+ H 2
+ H sub/1
+ H sub/2
26
+ EOF
27
-cat >expect.skip <<EOF
28
-S 1
29
30
-S sub/1
31
32
+ cat >expect.skip <<-\EOF &&
+ S 1
+ S sub/1
33
34
-test_expect_success 'setup' '
35
mkdir sub &&
36
touch ./1 ./2 sub/1 sub/2 &&
37
git add 1 2 sub/1 sub/2 &&
0 commit comments