match-trees: use hashcpy to splice trees
[gitweb.git] / t / t5601-clone.sh
index 2424fb3d3e51380a8e89421fab21e94ebf3b83a9..8bbc7068acbd1eab9f0499ff1151abd58a87079c 100755 (executable)
@@ -618,7 +618,7 @@ hex2oct () {
 test_expect_success 'clone on case-insensitive fs' '
        git init icasefs &&
        (
-               cd icasefs
+               cd icasefs &&
                o=$(git hash-object -w --stdin </dev/null | hex2oct) &&
                t=$(printf "100644 X\0${o}100644 x\0${o}" |
                        git hash-object -w -t tree --stdin) &&