Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-upload-pack: make sure we close unused pipe ends
[gitweb.git]
/
builtin-init-db.c
diff --git
a/builtin-init-db.c
b/builtin-init-db.c
index 186548938193ac125d9d9f89080cec640d0a46e0..12e43d0db4df0c40fe6375b38691684efcddad18 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);
}