diff options
author | 2013-05-07 20:19:37 -0400 | |
---|---|---|
committer | 2013-05-07 20:19:37 -0400 | |
commit | 2578c950fc47d3edfd30375d91e0d415c4f32be0 (patch) | |
tree | bc6f83dde8156298ccb7ef93b00eaf21bcc1e2a9 /Command/InitRemote.hs | |
parent | e26dccc10ded226f057ec2a64bf069c79f3352c7 (diff) |
SHA: Add a runtime sanity check that sha commands output something that appears to be a real sha.
This after fielding a bug where git-annex was built with a sha256 program
whose output checked out, but was then run with one that output lines
like:
SHA256 (file) = <sha here>
Which it then parsed as having a SHA256 of "SHA256"!
Now the output of the command is required to be of the right length,
and contain only the right characters.
Diffstat (limited to 'Command/InitRemote.hs')
0 files changed, 0 insertions, 0 deletions