about summary refs log tree commit diff
path: root/third_party/git/http-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/http-backend.c')
-rw-r--r--third_party/git/http-backend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/git/http-backend.c b/third_party/git/http-backend.c
index ec3144b44475..a03b4bae2221 100644
--- a/third_party/git/http-backend.c
+++ b/third_party/git/http-backend.c
@@ -9,7 +9,7 @@
 #include "run-command.h"
 #include "string-list.h"
 #include "url.h"
-#include "argv-array.h"
+#include "strvec.h"
 #include "packfile.h"
 #include "object-store.h"
 #include "protocol.h"
@@ -477,10 +477,10 @@ static void run_service(const char **argv, int buffer_input)
 		host = "(none)";
 
 	if (!getenv("GIT_COMMITTER_NAME"))
-		argv_array_pushf(&cld.env_array, "GIT_COMMITTER_NAME=%s", user);
+		strvec_pushf(&cld.env_array, "GIT_COMMITTER_NAME=%s", user);
 	if (!getenv("GIT_COMMITTER_EMAIL"))
-		argv_array_pushf(&cld.env_array,
-				 "GIT_COMMITTER_EMAIL=%s@http.%s", user, host);
+		strvec_pushf(&cld.env_array,
+			     "GIT_COMMITTER_EMAIL=%s@http.%s", user, host);
 
 	cld.argv = argv;
 	if (buffer_input || gzipped_request || req_len >= 0)