]> git.ipfire.org Git - thirdparty/git.git/blob - t/helper/test-sha1.c
Merge branch 'es/add-doc-list-short-form-of-all-in-synopsis'
[thirdparty/git.git] / t / helper / test-sha1.c
1 #include "test-tool.h"
2 #include "hash-ll.h"
3
4 int cmd__sha1(int ac, const char **av)
5 {
6 return cmd_hash_impl(ac, av, GIT_HASH_SHA1);
7 }
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 }