Code

Catch invalid --depth option passed to clone or fetch
[git.git] / t / t0001-init.sh
index 8106af8fba918b8de82857d40a7f693224c84e81..ad664105646d4579a4e31ea5d230268acc33c0f5 100755 (executable)
@@ -409,7 +409,7 @@ test_expect_success SYMLINKS 're-init to move gitdir symlink' '
        cd newdir &&
        mv .git here &&
        ln -s here .git &&
-       git init -L ../realgitdir
+       git init --separate-git-dir ../realgitdir
        ) &&
        echo "gitdir: `pwd`/realgitdir" >expected &&
        test_cmp expected newdir/.git &&