projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'jk/rebase-i-comment-char'
[git.git]
/
http.c
diff --git
a/http.c
b/http.c
index d868d8b3d97cc1a430e1680f2bc5f780b5e66a84..d9d1aad3be468394e39966c0b45e7e101b387b0c 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-841,6
+841,7
@@
static int http_request(const char *url, struct strbuf *type,
if (type) {
char *t;
+ strbuf_reset(type);
curl_easy_getinfo(slot->curl, CURLINFO_CONTENT_TYPE, &t);
if (t)
strbuf_addstr(type, t);