summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2022-10-24 13:41:05 +0000
committerJunio C Hamano <gitster@pobox.com>2022-10-24 12:45:26 -0700
commit24a4c45da9e1255df43a87bec1f646b1efa69209 (patch)
tree349f564bf5bac27bc6b2049194bb17b606eee449 /commit.c
parent31247936041318d441de5a2681f9bcb79459c726 (diff)
trace2: convert ctx.thread_name from strbuf to pointer
Convert the `tr2tls_thread_ctx.thread_name` field from a `strbuf` to a "const char*" pointer. The `thread_name` field is a constant string that is constructed when the context is created. Using a (non-const) `strbuf` structure for it caused some confusion in the past because it implied that someone could rename a thread after it was created. That usage was not intended. Change it to a const pointer to make the intent more clear. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions