diff --git a/t/t3100-ls-tree-restrict.sh b/t/t3100-ls-tree-restrict.sh index 160946356d9267..436de44971eca5 100755 --- a/t/t3100-ls-tree-restrict.sh +++ b/t/t3100-ls-tree-restrict.sh @@ -28,10 +28,6 @@ test_expect_success \ test_ln_s_add ../path1 path2/bazbo && echo Lo >path2/foo && echo Mi >path2/baz/b && - env >.git/env && - set >.git/set && - find path? \( -type f -o -type l \) -print >.git/input && - xargs git update-index --add <.git/input && find path? \( -type f -o -type l \) -print | xargs git update-index --add && tree=$(git write-tree) &&