| 1091 | } |
| 1092 | |
| 1093 | void enable_ref_display_notes(struct display_notes_opt *opt, int *show_notes, |
| 1094 | const char *ref) { |
| 1095 | struct strbuf buf = STRBUF_INIT; |
| 1096 | strbuf_addstr(&buf, ref); |
| 1097 | expand_notes_ref(&buf); |
| 1098 | string_list_append_nodup(&opt->extra_notes_refs, |
| 1099 | strbuf_detach(&buf, NULL)); |
| 1100 | *show_notes = 1; |
| 1101 | } |
| 1102 | |
| 1103 | void disable_display_notes(struct display_notes_opt *opt, int *show_notes) |
| 1104 | { |
no test coverage detected