Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init-db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init-db.c b/init-db.c
index fcb55f6e77..3f53d6c77e 100644
--- a/init-db.c
+++ b/init-db.c
@@ -189,6 +189,7 @@ static void create_default_files(const char *git_dir)
exit(1);
}
}
+ path[len] = 0;
copy_templates(path);
}