Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
worktree: add 'list' command
[gitweb.git]
/
builtin
/
init-db.c
diff --git
a/builtin/init-db.c
b/builtin/init-db.c
index 49df78d2624d58a29173e4e3a881af0b0e37b7c5..69323e186cda73fe02658a535d8eae8387ff5444 100644
(file)
--- a/
builtin/init-db.c
+++ b/
builtin/init-db.c
@@
-378,7
+378,7
@@
static void separate_git_dir(const char *git_dir)
die_errno(_("unable to move %s to %s"), src, git_dir);
}
- write_file(git_link,
1, "gitdir: %s\n
", git_dir);
+ write_file(git_link,
"gitdir: %s
", git_dir);
}
int init_db(const char *template_dir, unsigned int flags)