/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add logref support to git-symbolic-ref
[git/git.git]
/
builtin-init-db.c
diff --git
a/builtin-init-db.c
b/builtin-init-db.c
index
1865489
..
12e43d0
100644
(file)
--- a/
builtin-init-db.c
+++ b/
builtin-init-db.c
@@
-231,7
+231,7
@@
static int create_default_files(const char *git_dir, const char *template_path)
strcpy(path + len, "HEAD");
reinit = !read_ref("HEAD", sha1);
if (!reinit) {
- if (create_symref("HEAD", "refs/heads/master") < 0)
+ if (create_symref("HEAD", "refs/heads/master"
, NULL
) < 0)
exit(1);
}