Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add xsnprintf helper function
[gitweb.git]
/
builtin
/
init-db.c
diff --git
a/builtin/init-db.c
b/builtin/init-db.c
index bfe1d08234ddeae1b36d2dc4447a933123cbda1c..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, "gitdir: %s
\n
", git_dir);
+ write_file(git_link, "gitdir: %s", git_dir);
}
int init_db(const char *template_dir, unsigned int flags)