Commit meta files as well.
Remove everything in case of dirlink.