diff options
author | Petr Baudis <pasky@suse.cz> | 2005-09-20 02:19:50 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-19 17:41:13 -0700 |
commit | 1f961c196cbb475e612a4fb082b33efde71e7a03 (patch) | |
tree | b1fe84edf1de96c7c82574586b9e9d774d81d065 /show-index.c | |
parent | [PATCH] Do not install compatibility symlink for what we do not install (diff) | |
download | tgif-1f961c196cbb475e612a4fb082b33efde71e7a03.tar.xz |
[PATCH] Fix git-init-db creating crap directories.
The base target directory for the templates copying was initialized
to git_dir, but git_dir[len] is not zero but / at the time we do the
initialization. This is not what we want for our target directory string
since we pass it to mkdir(), so make it zero-terminated manually.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'show-index.c')
0 files changed, 0 insertions, 0 deletions