diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-08-18 09:43:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-18 09:43:27 -0700 |
commit | d32d37504c4266b3b06d8e7a2fce5f895a29c214 (patch) | |
tree | 979d991153d5ace1ad3d9c5f8846969ef373dd3f | |
parent | 08e3a032b21d3fa7108b90c3e33295181e150e42 (diff) | |
download | git-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; /* |