t2004: drop unnecessary write-tree/read-tree

Unlike earlier tests which reference several trees prepared by "setup", no other tests utilize the tree from the "symlink" test, so there is no need to write it (or read it back immediately). Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Sunshine committed Dec 24, 2014 at 04:43 UTC 0bbc971ab59d5630f974e12cee7aef6189e23c45
1 file changed -3
t/t2004-checkout-cache-temp.sh
-3
@@ -198,9 +198,6 @@ test_expect_success 'checkout --temp within subdir' '
198 test_expect_success 'checkout --temp symlink' '
199 rm -f path* .merge_* actual .git/index &&
200 test_ln_s_add b a &&
201 - t4=$(git write-tree) &&
202 - rm -f .git/index &&
203 - git read-tree $t4 &&
201 git checkout-index --temp -a >actual &&
202 test_line_count = 1 actual &&
203 test $(cut "-d " -f2 actual) = a &&