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.
1010'
1111
1212TEST_DIRECTORY=$( pwd) /../../../t
13- export TEST_DIRECTORY
1413. " $TEST_DIRECTORY " /test-lib.sh
1514
1615# Use our own wrapper around test-lib.sh's test_create_repo, in order
@@ -23,15 +22,6 @@ subtree_test_create_repo () {
2322 git -C " $1 " config log.date relative
2423}
2524
26- create () {
27- echo " $1 " > " $1 " &&
28- git add " $1 "
29- }
30-
31- undo () {
32- git reset --hard HEAD~
33- }
34-
3525# Make sure no patch changes more than one file.
3626# The original set of commits changed only one file each.
3727# A multi-file change would imply that we pruned commits
@@ -404,7 +394,7 @@ test_expect_success 'check hash of split' '
404394 (
405395 cd ./"sub proj" &&
406396 subdir_hash=$(git rev-parse HEAD) &&
407- test ' ' "$new_hash"' ' = "$subdir_hash"
397+ test "$new_hash" = "$subdir_hash"
408398 )
409399 )
410400'
You can’t perform that action at this time.
0 commit comments