From: Brandon Williams Date: Thu, 15 Mar 2018 17:31:36 +0000 (-0700) Subject: remote-curl: create copy of the service name X-Git-Tag: v2.18.0-rc0~105^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f08a5d42ea0567af12e703948b6859e30129ec1c?hp=f08a5d42ea0567af12e703948b6859e30129ec1c remote-curl: create copy of the service name Make a copy of the service name being requested instead of relying on the buffer pointed to by the passed in 'const char *' to remain unchanged. Currently, all service names are string constants, but a subsequent patch will introduce service names from external sources. Signed-off-by: Brandon Williams Signed-off-by: Junio C Hamano ---