diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-07-28 13:18:03 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-28 13:18:04 -0700 |
commit | aaf113ed95f58d83a81ccdaf32e41a5d8f1d98cf (patch) | |
tree | 89f13be2840fc8d7052441d8f3640a6896a3d980 | |
parent | Merge branch 'pb/dont-complete-aliased-options' (diff) | |
parent | refs/debug: quote prefix (diff) | |
download | tgif-aaf113ed95f58d83a81ccdaf32e41a5d8f1d98cf.tar.xz |
Merge branch 'hn/refs-debug-empty-prefix'
Debugging aid.
* hn/refs-debug-empty-prefix:
refs/debug: quote prefix
-rw-r--r-- | refs/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/refs/debug.c b/refs/debug.c index 7db4abccc3..1a7a9e11cf 100644 --- a/refs/debug.c +++ b/refs/debug.c @@ -232,7 +232,8 @@ debug_ref_iterator_begin(struct ref_store *ref_store, const char *prefix, struct debug_ref_iterator *diter = xcalloc(1, sizeof(*diter)); base_ref_iterator_init(&diter->base, &debug_ref_iterator_vtable, 1); diter->iter = res; - trace_printf_key(&trace_refs, "ref_iterator_begin: %s (0x%x)\n", prefix, flags); + trace_printf_key(&trace_refs, "ref_iterator_begin: \"%s\" (0x%x)\n", + prefix, flags); return &diter->base; } |