Code

git-pull: allow pulling into an empty repository
[git.git] / t / t5710-info-alternate.sh
index 097d037f5da5aad41872952533bdaef0b1e50d3c..b9f6d9636313c29cb9d9553ca908e623fdefd179 100755 (executable)
@@ -58,6 +58,8 @@ test_expect_failure 'creating too deep nesting' \
 git clone -l -s D E &&
 git clone -l -s E F &&
 git clone -l -s F G &&
+git clone -l -s G H &&
+cd H &&
 test_valid_repo'
 
 cd "$base_dir"
@@ -81,7 +83,7 @@ test_valid_repo"
 
 cd "$base_dir"
 
-test_expect_failure 'that info/alternates is neccessary' \
+test_expect_failure 'that info/alternates is necessary' \
 'cd C &&
 rm .git/objects/info/alternates &&
 test_valid_repo'