Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
7f47e72
)
diff --git
a/init-db.c
b/init-db.c
index fcb55f6e77f81f03c09f956ea2a63323a19c6217..3f53d6c77eaa2ebdc0f43f91d5d694a597185a70 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);
}