File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,17 @@ void free_notes(struct notes_tree *t);
256
256
struct string_list ;
257
257
258
258
struct display_notes_opt {
259
+ /*
260
+ * Less than `0` is "unset", which means that the default notes
261
+ * are shown iff no other notes are given. Otherwise,
262
+ * treat it like a boolean.
263
+ */
259
264
int use_default_notes ;
265
+
266
+ /*
267
+ * A list of globs (in the same style as notes.displayRef) where
268
+ * notes should be loaded from.
269
+ */
260
270
struct string_list extra_notes_refs ;
261
271
};
262
272
@@ -283,14 +293,7 @@ void disable_display_notes(struct display_notes_opt *opt, int *show_notes);
283
293
/*
284
294
* Load the notes machinery for displaying several notes trees.
285
295
*
286
- * If 'opt' is not NULL, then it specifies additional settings for the
287
- * displaying:
288
- *
289
- * - suppress_default_notes indicates that the notes from
290
- * core.notesRef and notes.displayRef should not be loaded.
291
- *
292
- * - extra_notes_refs may contain a list of globs (in the same style
293
- * as notes.displayRef) where notes should be loaded from.
296
+ * 'opt' may be NULL.
294
297
*/
295
298
void load_display_notes (struct display_notes_opt * opt );
296
299
You can’t perform that action at this time.
0 commit comments