initial implementation: compute hashes
more git-like hash computation, and symlink support