diff options
author | Nicolas Pitre <nico@cam.org> | 2007-01-26 17:26:10 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-28 02:16:46 -0800 |
commit | 8b5157e40718a2ee1d645c342d93df4e66335479 (patch) | |
tree | 3e81ee8c1e122f82254cb8775076dad36c6fcd76 /builtin-init-db.c | |
parent | 41b625b047ad5c537ca312d2f07c86bdd783a7b0 (diff) | |
download | git-8b5157e40718a2ee1d645c342d93df4e66335479.tar.gz |
add logref support to git-symbolic-ref
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-init-db.c')
-rw-r--r-- | builtin-init-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-init-db.c b/builtin-init-db.c index 1865489381..12e43d0db4 100644 --- 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); } |