]>
Commit | Line | Data |
---|---|---|
dae2ff9b | 1 | #include "test-tool.h" |
08c46a49 | 2 | #include "hash-ll.h" |
b65bc21e | 3 | |
dae2ff9b | 4 | int cmd__sha1(int ac, const char **av) |
b65bc21e | 5 | { |
50c817e0 | 6 | return cmd_hash_impl(ac, av, GIT_HASH_SHA1); |
b65bc21e | 7 | } |
dc1cf358 ÆAB |
8 | |
9 | int cmd__sha1_is_sha1dc(int argc UNUSED, const char **argv UNUSED) | |
10 | { | |
11 | #ifdef platform_SHA_IS_SHA1DC | |
12 | return 0; | |
13 | #endif | |
14 | return 1; | |
15 | } |