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