summaryrefslogtreecommitdiff
path: root/notes.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-08-29 14:55:10 -0700
committerJunio C Hamano <gitster@pobox.com>2022-08-29 14:55:11 -0700
commitc068a3b8ee40d6e009da33d742d6a87dbaf7f1c6 (patch)
treedbf62e8f94ecb7bb194e596fee5d762816f9ba91 /notes.c
parent07ee72db0e97b5c233f8ada0abb412248c2f1c6f (diff)
parent992f25d713d8fe02966491bbe6f45fd18e3b8d02 (diff)
Merge branch 'ds/decorate-filter-tweak'
The namespaces used by "log --decorate" from "refs/" hierarchy by default has been tightened. * ds/decorate-filter-tweak: fetch: use ref_namespaces during prefetch maintenance: stop writing log.excludeDecoration log: create log.initialDecorationSet=all log: add --clear-decorations option log: add default decoration filter log-tree: use ref_namespaces instead of if/else-if refs: use ref_namespaces for replace refs base refs: add array of ref namespaces t4207: test coloring of grafted decorations t4207: modernize test refs: allow "HEAD" as decoration filter
Diffstat (limited to 'notes.c')
-rw-r--r--notes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/notes.c b/notes.c
index 7452e71cc8..7bade6d8f6 100644
--- a/notes.c
+++ b/notes.c
@@ -1005,6 +1005,7 @@ void init_notes(struct notes_tree *t, const char *notes_ref,
if (!notes_ref)
notes_ref = default_notes_ref();
+ update_ref_namespace(NAMESPACE_NOTES, xstrdup(notes_ref));
if (!combine_notes)
combine_notes = combine_notes_concatenate;