git ls-tree $tree path > current && cat > expected <<\EOF && EOF test_output