repo.or.cz
/
git
/
libgit-gsoc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libgit-thin: Introduces git_revlist_show_merges()
[git/libgit-gsoc.git]
/
libgit-thin
/
ltsha1.h
blob
21867e3d1ab9ad1c74f3c7a83e2f87f75706ff8b
1
#ifndef LT_SHA1_H
2
#define LT_SHA1_H
3
4
#define GIT_SHA1_SIZE 20
5
#define GIT_HEX_LENGTH 40
6
7
int
git_hex_to_sha1
(
const char
*
hex
,
unsigned char
*
sha1
);
8
int
git_sha1_to_hex
(
const unsigned char
*
sha1
,
char
*
hex
);
9
10
#endif
/* LT_SHA1_H */