mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
SHA-256 is Git's next hash algorithm. The world is still basically stuck on SHA-1 with git, but shouldn't be. We can at least do our part to get ready. On the C++ implementation side, only a little bit of generalization was needed, and that was fairly straight-forward. The tests (unit and system) were actually bigger, and care was taken to make sure they were all cover both algorithms equally.
10 lines
174 B
Meson
10 lines
174 B
Meson
suites += {
|
|
'name': 'git-hashing',
|
|
'deps': [],
|
|
'tests': [
|
|
'simple-sha1.sh',
|
|
'simple-sha256.sh',
|
|
'fixed.sh',
|
|
],
|
|
'workdir': meson.current_source_dir(),
|
|
}
|