projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f47e72
)
git-init-db: brown paper bag bugfix.
author
Junio C Hamano
<junkio@cox.net>
Fri, 5 Aug 2005 04:43:43 +0000
(21:43 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 5 Aug 2005 04:43:43 +0000
(21:43 -0700)
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>
init-db.c
patch
|
blob
|
history
diff --git
a/init-db.c
b/init-db.c
index
fcb55f6
..
3f53d6c
100644
(file)
--- 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);
}