Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Still installing the old command names.
[gitweb.git]
/
init-db.c
diff --git
a/init-db.c
b/init-db.c
index 902bdfaafb53e15382c901936a1ccd2fec90f0f3..da2bc8f42b2ea6804c79097778f3105afcd87da6 100644
(file)
--- a/
init-db.c
+++ b/
init-db.c
@@
-154,6
+154,7
@@
static void copy_templates(const char *git_dir, int len, char *template_dir)
}
memcpy(path, git_dir, len);
+ path[len] = 0;
copy_templates_1(path, len,
template_path, template_len,
dir);