@@ -304,7 +304,7 @@ namespace {
304
304
NamedMutexGuard guard (cacheDir);
305
305
306
306
String command = String (" git -C \" " ) + cacheDir + " \" fetch --quiet --prune --prune-tags" ;
307
- Log::infof (" %s" , command);
307
+ Log::infof (" %s" , ( const char *) command);
308
308
Process process;
309
309
uint32 pid = process.open (command, Process::stderrStream, envs);
310
310
if (!pid)
@@ -321,7 +321,7 @@ namespace {
321
321
return UpdateResult::AuthFailure;
322
322
323
323
command = String (" git clone --quiet --mirror \" " ) + repoUrl + " \" \" " + cacheDir + " \" " ;
324
- Log::infof (" %s" , command);
324
+ Log::infof (" %s" , ( const char *) command);
325
325
uint32 pid = process.open (command, Process::stderrStream, envs);
326
326
if (!pid)
327
327
{
@@ -368,7 +368,7 @@ void Worker::handleGetRequest(const String& repoUrl, const String& repo, const S
368
368
// info response
369
369
{
370
370
String command = String (" git-upload-pack --stateless-rpc --advertise-refs \" " ) + cacheDir + " \" " ;
371
- Log::infof (" %s" , command);
371
+ Log::infof (" %s" , ( const char *) command);
372
372
Process process;
373
373
uint32 pid = process.open (command);
374
374
if (!pid)
@@ -408,7 +408,7 @@ void Worker::handlePostRequest(const String& repo, const String& auth, Buffer& b
408
408
409
409
{
410
410
String command = String (" git-upload-pack --stateless-rpc \" " ) + cacheDir + " \" " ;
411
- Log::infof (" %s" , command);
411
+ Log::infof (" %s" , ( const char *) command);
412
412
Process process;
413
413
uint32 pid = process.open (command, Process::stdoutStream | Process::stdinStream);
414
414
if (!pid)
0 commit comments