summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-03-15 10:31:36 -0700
committerJunio C Hamano <gitster@pobox.com>2018-03-15 12:01:09 -0700
commitf08a5d42ea0567af12e703948b6859e30129ec1c (patch)
tree0de640aad5aae1d040caf17ab548714cfa1b6453 /commit.c
parentf1f4d8acf400912a9e2a7b97080afced56719c29 (diff)
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 <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions