Browse Source
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>maint
Petr Baudis
20 years ago
committed by
Junio C Hamano
1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue