File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ and split subcommands of git subtree.
10
10
'
11
11
12
12
TEST_DIRECTORY=$( pwd) /../../../t
13
- export TEST_DIRECTORY
14
13
. " $TEST_DIRECTORY " /test-lib.sh
15
14
16
15
# Use our own wrapper around test-lib.sh's test_create_repo, in order
@@ -23,15 +22,6 @@ subtree_test_create_repo () {
23
22
git -C " $1 " config log.date relative
24
23
}
25
24
26
- create () {
27
- echo " $1 " > " $1 " &&
28
- git add " $1 "
29
- }
30
-
31
- undo () {
32
- git reset --hard HEAD~
33
- }
34
-
35
25
# Make sure no patch changes more than one file.
36
26
# The original set of commits changed only one file each.
37
27
# A multi-file change would imply that we pruned commits
@@ -404,7 +394,7 @@ test_expect_success 'check hash of split' '
404
394
(
405
395
cd ./"sub proj" &&
406
396
subdir_hash=$(git rev-parse HEAD) &&
407
- test ' ' "$new_hash"' ' = "$subdir_hash"
397
+ test "$new_hash" = "$subdir_hash"
408
398
)
409
399
)
410
400
'
You can’t perform that action at this time.
0 commit comments