Commit 7167fd7e by Russell Belfer

vmg is always right

parent c813b345
...@@ -782,7 +782,7 @@ int git_path_iconv(git_path_iconv_t *ic, char **in, size_t *inlen) ...@@ -782,7 +782,7 @@ int git_path_iconv(git_path_iconv_t *ic, char **in, size_t *inlen)
!git_path_has_non_ascii(*in, *inlen)) !git_path_has_non_ascii(*in, *inlen))
return 0; return 0;
git_buf_truncate(&ic->buf, 0); git_buf_clear(&ic->buf);
while (1) { while (1) {
if (git_buf_grow(&ic->buf, wantlen + 1) < 0) if (git_buf_grow(&ic->buf, wantlen + 1) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment