diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-04 21:43:43 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-04 21:43:43 -0700 |
commit | b03e2d2091153d239063cfc086a840d74a9eadde (patch) | |
tree | 1405f3a66c61bc6ba79c0bfb36f8f7d1b83ff6b7 /init-db.c | |
parent | 7f47e72fb3b947db4ffde56a40d999c2fe99ead2 (diff) | |
download | git-b03e2d2091153d239063cfc086a840d74a9eadde.tar.gz |
git-init-db: brown paper bag bugfix.
OK, I admit I am an idiot. I ended up creating bunch of garbage
directories like .git/HEADbranch/ .git/HEADrefs/...
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'init-db.c')
-rw-r--r-- | init-db.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -189,6 +189,7 @@ static void create_default_files(const char *git_dir) exit(1); } } + path[len] = 0; copy_templates(path); } |