summaryrefslogtreecommitdiff
path: root/builtin/cat-file.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-03-15 10:31:36 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-15 12:01:09 -0700
commitf08a5d42ea0567af12e703948b6859e30129ec1c (patch)
tree0de640aad5aae1d040caf17ab548714cfa1b6453 /builtin/cat-file.c
parentpkt-line: add packet_buf_write_len function (diff)
downloadtgif-f08a5d42ea0567af12e703948b6859e30129ec1c.tar.xz
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 'builtin/cat-file.c')
0 files changed, 0 insertions, 0 deletions