Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git: add --no-replace-objects option to disable replacing
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index e4ea395e029446920f570d888d93ba9ae249f18c..00e83dcec1d973b069d4c75105aed96634b00994 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-193,6
+193,8
@@
static char *xml_entities(char *s)
case '&':
strbuf_addstr(&buf, "&");
break;
+ case 0:
+ return strbuf_detach(&buf, NULL);
}
s++;
}
@@
-1750,7
+1752,7
@@
static int delete_remote_branch(char *pattern, int force)
return 0;
}
-void run_request_queue(void)
+
static
void run_request_queue(void)
{
#ifdef USE_CURL_MULTI
is_running_queue = 1;