2 ms·
> So if you make a commit to the README.md fixing a typo, now your build of the source code has a different checksum? Yes...? What's the problem? > why they d
by yawaramin 5y ago
> So if you make a commit to the README.md fixing a typo, now your build of the source code has a different checksum?
Yes...? What's the problem?
> why they don't instead hash all the source files and then embed that hash.
This is almost exactly what the git sha is. If you're arguing that README.md files shouldn't be included in the checksum, that's subjective. Many people would argue otherwise. And it doesn't hurt to be more accurate than less.
- pabs3 5y agoThe git commit hash is less accurate, since it includes extra files like README.md that aren't converted to any part of the executable.