setup_git_directory_gently: fix off-by-one error
commit96a5702409e193616ad7e56700dd6051ad324654
authorMatthias Lederhofer <matled@gmx.net>
Sun, 11 Mar 2007 01:35:00 +0000 (11 02:35 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 11 Mar 2007 05:47:45 +0000 (10 21:47 -0800)
tree1b5f417bd9f12e6b951036469c876cdc535f37c5
parent8bb2b516d56722776255faaccc0b1d63e444a93e
setup_git_directory_gently: fix off-by-one error

don't tell getcwd that the buffer has one spare byte for an extra /

Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
setup.c