From d32d37504c4266b3b06d8e7a2fce5f895a29c214 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 18 Aug 2014 09:43:27 -0700 Subject: [PATCH] fixup! setup: convert setup_git_directory_gently_1 et al. to strbuf ... to be squashed before rebuilding 'next'. --- setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.c b/setup.c index 23b4338461..72a4978ba5 100644 --- a/setup.c +++ b/setup.c @@ -654,7 +654,7 @@ static const char *setup_git_directory_gently_1(int *nongit_ok) string_list_clear(&ceiling_dirs, 0); } - if (ceil_offset < 0 && has_dos_drive_prefix(cwd)) + if (ceil_offset < 0 && has_dos_drive_prefix(cwd.buf)) ceil_offset = 1; /* -- 2.11.4.GIT