repo.or.cz
/
git
/
debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
debian: new upstream point release
[git/debian.git]
/
t
/
helper
/
test-sha1.c
blob
dcb7f6c0032b556959c6635db3c89fd49e8790d0
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
}