Why is that non-user-friendly and why that’s non-user-friendly specifically for those using macOS (especially since the syntax is the same for all operating systems)?
Tree hashes mismatches are usually filesystem-related, a couple of common situations are:
- in the tarball there might be files with clashing names due to different cases, this is a problem on case-insensitive file systems (which is the default on macOS)
- you may have an uncommon filesystem on which the tree hash is computed differently
If the problem is the former, the solution is to remove files which clashing file names.