I don't know why, but for some unknown reason the buffer did not contain zeros. This broke t1500-rev-parse.sh (the test for GIT_DIR=../.git git rev-parse --show-prefix). Signed-off-by: Alex Riesen --- It could be a memory corruption somewhere, but I really was unable to find what could that, nor could I reproduce the problem on a handy linux box. setup.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)