summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-08-18 09:43:27 -0700
committerJunio C Hamano <gitster@pobox.com>2014-08-18 09:43:27 -0700
commitd32d37504c4266b3b06d8e7a2fce5f895a29c214 (patch)
tree979d991153d5ace1ad3d9c5f8846969ef373dd3f
parent08e3a032b21d3fa7108b90c3e33295181e150e42 (diff)
downloadgit-d32d37504c4266b3b06d8e7a2fce5f895a29c214.tar.gz
fixup! setup: convert setup_git_directory_gently_1 et al. to strbuf
... to be squashed before rebuilding 'next'.
-rw-r--r--setup.c2
1 files changed, 1 insertions, 1 deletions
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;
/*