projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bunch of fd leaks in http-fetch
[git.git]
/
symbolic-ref.c
diff --git
a/symbolic-ref.c
b/symbolic-ref.c
index
af087d2
..
a72d7ac
100644
(file)
--- a/
symbolic-ref.c
+++ b/
symbolic-ref.c
@@
-3,7
+3,7
@@
static const char git_symbolic_ref_usage[] =
"git-symbolic-ref name [ref]";
-static
int
check_symref(const char *HEAD)
+static
void
check_symref(const char *HEAD)
{
unsigned char sha1[20];
const char *git_HEAD = strdup(git_path("%s", HEAD));