diff options
author | Brandon Williams <bmwill@google.com> | 2018-03-15 10:31:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-15 12:01:09 -0700 |
commit | f08a5d42ea0567af12e703948b6859e30129ec1c (patch) | |
tree | 0de640aad5aae1d040caf17ab548714cfa1b6453 /builtin/cat-file.c | |
parent | pkt-line: add packet_buf_write_len function (diff) | |
download | tgif-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